        .weather-widget {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            max-width: 800px;
            width: 100%;
            backdrop-filter: blur(10px);
        }

        @media (min-width: 768px) {
            .weather-main-container {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 10px;
                align-items: start;
            }
        }

        .loading {
            text-align: center;
            color: #667eea;
            font-size: 18px;
        }

        .spinner {
            border: 4px solid #f3f3f3;
            border-top: 4px solid #667eea;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 20px auto;
        }

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

        .error {
            color: #e74c3c;
            text-align: center;
            padding: 20px;
        }

        .weather-content {
            display: none;
        }

        .weather-content.active {
            display: block;
        }

        .location {
            text-align: center;
            margin-bottom: 20px;
            position: relative;
        }

        .unit-toggle {
            position: absolute;
            top: 0;
            right: 0;
            background: #667eea;
            color: white;
            border: none;
            border-radius: 6px;
            padding: 6px 12px;
            font-size: 16px;
            font-weight: 600;
            transition: background 0.3s;
        }

        .unit-toggle:hover {
            background: #5568d3;
        }

        .city-name {
            font-size: 24px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 5px;
            line-height: 1.3;
        }

        .coordinates {
            font-size: 14px;
            color: #7f8c8d;
        }

        .weather-main {
            text-align: center;
        }

        @media (min-width: 768px) {
            .weather-main {
                display: flex;
                align-items: center;
                gap: 10px;
                text-align: left;
            }
        }

        .weather-icon {
            font-family: 'Bodoni 72', serif; /* ================================================*/
            font-weight: bold;
            font-size: 80px;
            margin-bottom: 10px;
        }

        .temperature {
            font-size: 60px;
            font-weight: 700;
            color: #2c3e50;
        }

        @media (min-width: 768px) {
            .temperature {
                font-size: 72px;
            }
        }

        .description {
            font-size: 20px;
            color: #7f8c8d;
        }

        .weather-details {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-top: 20px;
        }

        @media (min-width: 768px) {
            .weather-details {
                grid-template-columns: repeat(4, 1fr);
                margin-top: 0;
            }
        }

        .detail-item {
            text-align: center;
            padding: 10px;
            background: #f8f9fa;
            border-radius: 10px;
        }

        .detail-label {
            font-size: 12px;
            color: #7f8c8d;
            margin-bottom: 5px;
            text-transform: uppercase;
        }

        .detail-value {
            font-size: 18px;
            font-weight: 600;
            color: #2c3e50;
        }

        .forecast {
            margin-top: 5px;
            padding-top: 5px;
            border-top: 1px solid #ecf0f1;
        }

        /*.forecast-title {
            font-size: 16px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 15px;
            text-align: center;
        }*/

        .forecast-items {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding: 5px 0;
        }

        .forecast-item {
            flex: 0 0 auto;
            background: #f8f9fa;
            border-radius: 10px;
            padding: 15px 10px;
            text-align: center;
            min-width: 80px;
        }

        .forecast-day {
            font-weight: bold;
            font-size: 18px;
            color: #7f8c8d;
            margin-bottom: 8px;
        }

        .forecast-icon {
            font-size: 60px;
            margin-bottom: 5px;
            font-family: 'Bodoni 72', serif; /* ================================================*/
            font-weight: bold;
        }

        .forecast-temp {
            font-size: 14px;
            font-weight: 600;
            color: #2c3e50;
        }

        .air-quality {
            margin-top: 15px;
            padding: 12px;
            background: #f8f9fa;
            border-radius: 8px;
            text-align: center;
        }

        .air-quality-title {
            display:inline;
            font-size: 14px;
            font-weight: 900;
            color: #7f8c8d;
            margin-bottom: 8px;
            text-transform: uppercase;
            padding-right: 12px;
        }

        .air-quality-value {
            display:inline;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 4px;
            padding-left: 12px;
        }

        .air-quality-label {
            display:inline;
            font-size: 18px;
            font-weight: 900;
            text-transform: uppercase;
        }

        .aqi-good { color: #27ae60; }
        .aqi-fair { color: #f39c12; }
        .aqi-moderate { color: #e67e22; }
        .aqi-poor { color: #e74c3c; }
        .aqi-very-poor { color: #8e44ad; }

        .refresh-btn {
            width: 100%;
            padding: 12px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 20px;
            transition: transform 0.2s;
        }

        .refresh-btn:hover {
            transform: translateY(-2px);
        }

        .refresh-btn:active {
            transform: translateY(0);
        }

        .last-update {
            text-align: center;
            font-size: 12px;
            color: #95a5a6;
            margin-top: 10px;
        }

        .left-section {
            display: flex;
            flex-direction: column;
        }

        .right-section {
            display: flex;
            flex-direction: column;
        }

        .weather-info-wrapper {
            flex: 1;
        }

        @media (min-width: 768px) {
            .location {
                text-align: left;
                margin-bottom: 20px;
            }

            .weather-icon {
                font-size: 100px;
            }
        }