/* Weather Widget Pro - weather-widget.css */

.wwp-outer {
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Search */
.wwp-search {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    align-items: center;
}
.wwp-search .wwp-city-input {
    flex: 1;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid #ccd5e0;
    background: #fff;
    color: #333;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    box-shadow: none;
    height: auto;
    line-height: normal;
}
.wwp-search .wwp-city-input:focus {
    border-color: #1a90d9;
    box-shadow: 0 0 0 3px rgba(26,144,217,0.12);
}
.wwp-search .wwp-search-btn {
    padding: 11px 18px;
    border-radius: 12px;
    background: #1a90d9;
    color: #fff;
    border: none;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
    white-space: nowrap;
    height: auto;
    line-height: normal;
}
.wwp-search .wwp-search-btn:hover {
    background: #1578b8;
}

/* Error / Loading */
.wwp-error {
    background: #fce4e4;
    color: #c0392b;
    border: 1px solid #e74c3c;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 12px;
}
.wwp-loading {
    text-align: center;
    padding: 28px;
    color: #555;
    font-size: 14px;
}

/* Card */
.wwp-card {
    background: linear-gradient(145deg, #1a8fd1 0%, #1565c0 100%);
    border-radius: 24px;
    padding: 24px;
    color: #fff;
    box-shadow: 0 8px 32px rgba(21,101,192,0.30);
}

/* Header */
.wwp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}
.wwp-city-name {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}
.wwp-local-time {
    font-size: 13px;
    opacity: 0.85;
}

/* Main temp */
.wwp-main {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.wwp-icon {
    font-size: 54px;
    line-height: 1;
}
.wwp-temp {
    font-size: 54px;
    font-weight: 700;
    line-height: 1;
}
.wwp-desc {
    font-size: 15px;
    opacity: 0.9;
    margin-top: 6px;
    text-transform: capitalize;
}

/* Info row */
.wwp-info-row {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 13px;
    opacity: 0.93;
    flex-wrap: wrap;
    align-items: center;
}
.wwp-info-row span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Sunrise / Sunset */
.wwp-sun-row {
    display: flex;
    gap: 28px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 500;
}
.wwp-sunrise::before { content: '🌅 '; }
.wwp-sunset::before  { content: '🌇 '; }

/* Extra grid */
.wwp-extra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.wwp-extra-item {
    background: rgba(255,255,255,0.18);
    border-radius: 14px;
    padding: 12px 8px;
    text-align: center;
}
.wwp-extra-label {
    font-size: 11px;
    opacity: 0.75;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.wwp-extra-val {
    font-size: 16px;
    font-weight: 700;
}

/* Divider */
.wwp-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.28);
    margin-bottom: 18px;
}

/* Forecast */
.wwp-forecast-title {
    font-size: 12px;
    font-weight: 700;
    opacity: 0.78;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.wwp-forecast-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.wwp-fc-day {
    text-align: center;
    background: rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 10px 4px;
}
.wwp-fc-day-name {
    font-size: 12px;
    opacity: 0.75;
    margin-bottom: 8px;
    font-weight: 600;
}
.wwp-fc-day-icon {
    font-size: 26px;
    margin-bottom: 6px;
}
.wwp-fc-day-temp {
    font-size: 15px;
    font-weight: 700;
}

.wwp-powered {
    text-align: right;
    font-size: 11px;
    opacity: 0.55;
    margin-top: 14px;
}

/* Responsive */
@media (max-width: 480px) {
    .wwp-temp { font-size: 42px; }
    .wwp-icon { font-size: 42px; }
    .wwp-extra-grid { grid-template-columns: repeat(3,1fr); gap: 6px; }
    .wwp-forecast-grid { grid-template-columns: repeat(4,1fr); gap: 6px; }
}
