
        .weather-widget {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #1a2a6c, #2a4b8c);
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
            width: 320px;
            padding: 20px;
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .weather-widget::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #00c6ff, #0072ff);
        }
        
        .weather-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .location h2 {
            font-size: 1.4rem;
            margin: 0;
            font-weight: 600;
        }
        
        .location p {
            margin: 3px 0 0;
            font-size: 0.9rem;
            opacity: 0.8;
        }
        
        .refresh-btn {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            border-radius: 50%;
            width: 36px;
            height: 36px;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .refresh-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }
        
        .current-weather {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .temperature {
            font-size: 3rem;
            font-weight: 300;
            line-height: 1;
        }
        
        .weather-icon {
            font-size: 3.5rem;
            color: #ffd700;
        }
        
        .weather-details {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            margin-bottom: 15px;
        }
        
        .detail {
            background: rgba(255, 255, 255, 0.1);
            padding: 10px;
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .detail i {
            font-size: 1.2rem;
            margin-bottom: 5px;
        }
        
        .detail .value {
            font-size: 1rem;
            font-weight: 600;
        }
        
        .detail .label {
            font-size: 0.75rem;
            opacity: 0.8;
        }
        
        .forecast {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
        }
        
        .day {
            flex: 1;
            padding: 8px;
            text-align: center;
        }
        
        .day-name {
            font-weight: 600;
            font-size: 0.8rem;
            margin-bottom: 5px;
        }
        
        .day-icon {
            font-size: 1.2rem;
            color: #ffd700;
            margin: 5px 0;
        }
        
        .day-temp {
            font-size: 0.9rem;
            font-weight: 600;
        }
        
        .last-update {
            text-align: center;
            font-size: 0.7rem;
            opacity: 0.7;
            margin-top: 15px;
        }
        
        .loading {
            text-align: center;
            padding: 20px;
            font-style: italic;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .fa-spin {
            animation: spin 1.5s linear infinite;
        }
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }
        
        .weather-container {
            background: rgba(255, 255, 255, 0.9);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            width: 100%;
            max-width: 450px;
            padding: 30px;
            text-align: center;
            backdrop-filter: blur(10px);
        }
        
        .location {
            margin-bottom: 25px;
        }
        
        .location h1 {
            font-size: 2.2rem;
            color: #2c3e50;
            margin-bottom: 5px;
        }
        
        .location p {
            color: #7f8c8d;
            font-size: 1.1rem;
        }
        
        .current-weather {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }
        
        .temperature {
            font-size: 3.5rem;
            font-weight: 700;
            color: #2c3e50;
        }
        
        .weather-icon {
            font-size: 4rem;
            color: #f39c12;
        }
        
        .weather-details {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-bottom: 25px;
        }
        
        .detail {
            background: rgba(52, 152, 219, 0.1);
            padding: 15px;
            border-radius: 15px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .detail i {
            font-size: 1.5rem;
            margin-bottom: 10px;
            color: #3498db;
        }
        
        .detail .value {
            font-size: 1.2rem;
            font-weight: 600;
            color: #2c3e50;
        }
        
        .detail .label {
            font-size: 0.9rem;
            color: #7f8c8d;
        }
        
        .forecast {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }
        
        .day {
            flex: 1;
            padding: 10px;
        }
        
        .day-name {
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 5px;
        }
        
        .day-icon {
            font-size: 1.5rem;
            color: #f39c12;
            margin: 5px 0;
        }
        
        .day-temp {
            color: #3498db;
            font-weight: 600;
        }
        
        .description {
            margin: 20px 0;
            font-size: 1.2rem;
            color: #2c3e50;
            font-style: italic;
        }
        
        .last-update {
            font-size: 0.8rem;
            color: #95a5a6;
            margin-top: 15px;
        }



