* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    transition: all 0.3s ease;
}

body.dark-mode {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10000;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.company-name {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.search-section {
    flex: 1;
    max-width: 400px;
    margin: 0 20px;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.search-btn {
    position: absolute;
    right: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header-left {
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    position: relative;
}

.hamburger-btn {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 12px;
    width: 45px;
    height: 45px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 18px;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.controls-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.temp-unit-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 20px;
    width: 50px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
}

.temp-unit-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.temp-unit-btn.fahrenheit {
    background: rgba(255, 165, 0, 0.3);
}

.language-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 20px;
    width: 50px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.language-btn.english {
    background: rgba(255, 165, 0, 0.3);
}

.theme-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.main-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 70vh;
    padding-top: 20px;
    padding-left: 40px;
    padding-right: 40px;
    gap: 30px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.weather-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 350px;
    width: 100%;
    text-align: center;
    color: #fff;
}

.weather-header h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.weather-header p {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 30px;
}

.weather-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.temperature-section {
    text-align: left;
}

.current-temp {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.weather-description {
    font-size: 18px;
    opacity: 0.9;
    margin-top: 5px;
    text-transform: capitalize;
}

.weather-icon img {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.weather-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.detail-item i {
    font-size: 20px;
    color: #fff;
    opacity: 0.8;
}

.detail-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.detail-label {
    font-size: 12px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    font-size: 16px;
    font-weight: 600;
}

/* Air Quality and UV Index Styles */
.air-quality-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.air-quality-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.air-quality-item i {
    font-size: 20px;
    color: #fff;
    opacity: 0.8;
}

.air-quality-item .fa-smog {
    color: #ff6b6b;
}

.air-quality-item .fa-sun {
    color: #ffd700;
}

.sun-info {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.sun-path {
    position: relative;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sun-curve {
    position: relative;
    width: 100%;
    height: 60px;
    margin-bottom: 15px;
}

.sun-curve::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    border: 3px solid #ffd700;
    border-bottom: none;
    border-radius: 60px 60px 0 0;
    opacity: 0.8;
}

.sun-peak {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: #ffd700;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    transition: all 0.3s ease;
    z-index: 2;
}

.sun-times {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
}

.sunrise-info, .sunset-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.sunrise-info i, .sunset-info i {
    font-size: 16px;
    color: #ffd700;
}

.sunrise-info span, .sunset-info span {
    font-size: 14px;
    font-weight: 600;
}

.daylight-info {
    text-align: center;
    color: #fff;
}

.daylight-label {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.daylight-duration {
    font-size: 16px;
    font-weight: 600;
    color: #ffd700;
}

.loading {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: #fff;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.error i {
    font-size: 40px;
}

/* Forecast Section */
.forecast-section {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex: 1;
    max-width: 800px;
}

/* Forecast Styles */
.forecast-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 550px;
    width: 100%;
    color: #fff;
    height: fit-content;
}

.forecast-header h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.forecast-grid {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: space-between;
    align-items: stretch;
}

.forecast-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 90px;
    flex: 1;
}

.forecast-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.forecast-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.forecast-date {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.forecast-day-name {
    font-size: 12px;
    opacity: 0.8;
}

/* Major Cities Weather Styles */
.cities-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    max-width: 130px;
    width: 100%;
    margin-top: 0;
}

.city-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 80px;
}

.city-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.city-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.city-name {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-align: center;
}

.city-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 6px 0;
}

.city-icon img {
    width: 35px;
    height: 35px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.city-temp {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.forecast-weather {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.forecast-icon img {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.forecast-temp {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-align: center;
}

.forecast-description {
    font-size: 12px;
    opacity: 0.8;
    text-align: center;
    text-transform: capitalize;
}

/* Autocomplete Suggestions Styles */
.suggestions-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 5px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #333;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.suggestion-item i {
    font-size: 16px;
    color: #667eea;
    opacity: 0.8;
}

.suggestion-item span {
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

/* Dark mode support for suggestions */
body.dark-mode .suggestions-container {
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .suggestion-item {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .suggestion-item:hover,
body.dark-mode .suggestion-item.hover {
    background: rgba(102, 126, 234, 0.2);
    color: #fff;
}

body.dark-mode .suggestion-item i {
    color: #667eea;
}

/* Scrollbar styling for suggestions */
.suggestions-container::-webkit-scrollbar {
    width: 6px;
}

.suggestions-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.suggestions-container::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 3px;
}

.suggestions-container::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.5);
}

body.dark-mode .suggestions-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .suggestions-container::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.4);
}

body.dark-mode .suggestions-container::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.6);
}

/* Hourly Temperature Chart Styles */
.hourly-chart {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.chart-header h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.chart-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#temperatureChart {
    width: 100%;
    height: 150px;
    border-radius: 15px;
}
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .main-content {
        flex-direction: column;
        justify-content: center;
        padding: 15px;
        gap: 15px;
    }
    
    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 15px;
        margin-bottom: 20px;
        min-height: 60px;
    }
    
    .header-left {
        flex: 0 0 auto;
    }
    
    .search-section {
        display: block;
        flex: 1;
        max-width: 200px;
        margin: 0 10px;
    }
    
    .header-right {
        flex: 0 0 auto;
    }
    
    .hamburger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .controls-section {
        position: absolute;
        top: 55px;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(20px);
        border-radius: 15px;
        padding: 15px;
        gap: 10px;
        flex-direction: column;
        min-width: 120px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 10001;
    }
    
    .controls-section.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .logo-section {
        gap: 10px;
    }
    
    .logo {
        width: 35px;
        height: 35px;
    }
    
    .company-name {
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    .search-input {
        padding: 8px 40px 8px 12px;
        font-size: 13px;
    }
    
    .search-btn {
        width: 30px;
        height: 30px;
        right: 2px;
    }
    
    .temp-unit-btn, .language-btn {
        width: 45px;
        height: 35px;
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .theme-btn {
        width: 45px;
        height: 40px;
        margin-bottom: 5px;
    }
    
    .weather-container {
        padding: 20px 15px;
        margin: 0;
        max-width: 100%;
        border-radius: 20px;
    }
    
    .weather-header h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .weather-header p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .weather-main {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .current-temp {
        font-size: 42px;
        text-align: center;
    }
    
    .weather-description {
        font-size: 16px;
        text-align: center;
    }
    
    .weather-icon img {
        width: 70px;
        height: 70px;
    }
    
    .weather-details {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .detail-item {
        padding: 10px;
        border-radius: 10px;
    }
    
    .detail-item i {
        font-size: 18px;
    }
    
    .detail-label {
        font-size: 11px;
    }
    
    .detail-value {
        font-size: 14px;
    }
    
    .air-quality-section {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .air-quality-item {
        padding: 10px;
        border-radius: 10px;
    }
    
    .air-quality-item i {
        font-size: 18px;
    }
    
    .sun-info {
        padding: 15px;
        border-radius: 10px;
    }
    
    .sun-path {
        height: 100px;
    }
    
    .sun-curve {
        height: 50px;
        margin-bottom: 10px;
    }
    
    .sun-peak {
        width: 12px;
        height: 12px;
    }
    
    .sunrise-info span, .sunset-info span {
        font-size: 13px;
    }
    
    .daylight-duration {
        font-size: 14px;
    }
    
    .forecast-section {
        flex-direction: column;
        gap: 15px;
        max-width: none;
    }
    
    .forecast-container {
        padding: 20px 15px;
        margin: 0;
        max-width: 100%;
        border-radius: 20px;
    }
    
    .forecast-header h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .forecast-grid {
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
    }
    
    .forecast-item {
        min-width: 65px;
        padding: 12px 8px;
        border-radius: 12px;
        flex-shrink: 0;
    }
    
    .forecast-date {
        font-size: 12px;
    }
    
    .forecast-day-name {
        font-size: 10px;
    }
    
    .forecast-icon img {
        width: 35px;
        height: 35px;
    }
    
    .forecast-temp {
        font-size: 14px;
    }
    
    .forecast-description {
        font-size: 10px;
    }
    
    .hourly-chart {
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .chart-header h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .chart-container {
        padding: 15px;
        border-radius: 15px;
    }
    
    #temperatureChart {
        height: 120px;
    }
    
    .cities-grid {
        flex-direction: row;
        gap: 8px;
        max-width: 100%;
        margin-top: 15px;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: center;
    }
    
    .city-item {
        min-width: 60px;
        padding: 12px 8px;
        border-radius: 12px;
        flex-shrink: 0;
    }
    
    .city-name {
        font-size: 10px;
    }
    
    .city-icon img {
        width: 30px;
        height: 30px;
    }
    
    .city-temp {
        font-size: 12px;
    }
    
    /* Mobile loading and error states */
    .loading {
        padding: 20px;
    }
    
    .loading .spinner {
        width: 40px;
        height: 40px;
    }
    
    .loading p {
        font-size: 14px;
        text-align: center;
    }
    
    .error {
        padding: 20px;
        border-radius: 15px;
    }
    
    .error i {
        font-size: 30px;
    }
    
    .error p {
        font-size: 14px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .main-content {
        padding: 10px;
        gap: 12px;
    }
    
    .header {
        padding: 12px;
        gap: 8px;
        margin-bottom: 15px;
        min-height: 55px;
    }
    
    .logo {
        width: 30px;
        height: 30px;
    }
    
    .company-name {
        font-size: 14px;
    }
    
    .search-section {
        max-width: 150px;
        margin: 0 8px;
    }
    
    .search-input {
        padding: 6px 35px 6px 10px;
        font-size: 12px;
    }
    
    .search-btn {
        width: 28px;
        height: 28px;
        right: 1px;
    }
    
    .hamburger-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .controls-section {
        top: 50px;
        padding: 12px;
        min-width: 100px;
    }
    
    .temp-unit-btn, .language-btn {
        width: 40px;
        height: 30px;
        font-size: 11px;
        margin-bottom: 3px;
    }
    
    .theme-btn {
        width: 40px;
        height: 35px;
        margin-bottom: 3px;
    }
    
    .weather-container {
        padding: 15px 12px;
        border-radius: 15px;
    }
    
    .weather-header h2 {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .weather-header p {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .weather-main {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .current-temp {
        font-size: 36px;
    }
    
    .weather-description {
        font-size: 14px;
    }
    
    .weather-icon img {
        width: 60px;
        height: 60px;
    }
    
    .weather-details {
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .detail-item {
        padding: 8px;
        border-radius: 8px;
    }
    
    .detail-item i {
        font-size: 16px;
    }
    
    .detail-label {
        font-size: 10px;
    }
    
    .detail-value {
        font-size: 13px;
    }
    
    .air-quality-section {
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .air-quality-item {
        padding: 8px;
        border-radius: 8px;
    }
    
    .air-quality-item i {
        font-size: 16px;
    }
    
    .sun-info {
        padding: 12px;
        border-radius: 8px;
    }
    
    .sun-path {
        height: 80px;
    }
    
    .sun-curve {
        height: 40px;
        margin-bottom: 8px;
    }
    
    .sun-peak {
        width: 10px;
        height: 10px;
    }
    
    .sunrise-info span, .sunset-info span {
        font-size: 12px;
    }
    
    .daylight-duration {
        font-size: 13px;
    }
    
    .forecast-container {
        padding: 15px 12px;
        border-radius: 15px;
    }
    
    .forecast-header h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .forecast-grid {
        gap: 6px;
    }
    
    .forecast-item {
        min-width: 55px;
        padding: 10px 6px;
        border-radius: 10px;
    }
    
    .forecast-date {
        font-size: 11px;
    }
    
    .forecast-day-name {
        font-size: 9px;
    }
    
    .forecast-icon img {
        width: 30px;
        height: 30px;
    }
    
    .forecast-temp {
        font-size: 12px;
    }
    
    .forecast-description {
        font-size: 9px;
    }
    
    .hourly-chart {
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .chart-header h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .chart-container {
        padding: 12px;
        border-radius: 12px;
    }
    
    #temperatureChart {
        height: 100px;
    }
    
    .cities-grid {
        gap: 6px;
    }
    
    .city-item {
        min-width: 50px;
        padding: 10px 6px;
        border-radius: 10px;
    }
    
    .city-name {
        font-size: 9px;
    }
    
    .city-icon img {
        width: 25px;
        height: 25px;
    }
    
    .city-temp {
        font-size: 11px;
    }
    
    /* Small mobile loading and error states */
    .loading {
        padding: 15px;
    }
    
    .loading .spinner {
        width: 35px;
        height: 35px;
    }
    
    .loading p {
        font-size: 13px;
    }
    
    .error {
        padding: 15px;
        border-radius: 12px;
    }
    
    .error i {
        font-size: 25px;
    }
    
    .error p {
        font-size: 13px;
    }
}
