  * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            /* background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%); */
            background: #2d3436;
            color: #333;
            line-height: 1.6;
            min-height: 100vh;
            padding: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .container {
            width: 100%;
            max-width: 500px;
            background-color: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            overflow: hidden;
        }
        
        .app-header {
            background-color: #0984e3;
            color: white;
            padding: 20px;
            text-align: center;
        }
        
        .search-section {
            padding: 20px;
            display: flex;
            gap: 10px;
        }
        
        #cityInput {
            flex: 1;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 30px;
            font-size: 16px;
            outline: none;
        }
        
        #searchBtn {
            background-color: #0984e3;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 30px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s;
        }
        
        #searchBtn:hover {
            background-color: #0769b5;
        }
        
        .current-weather {
            padding: 20px;
            text-align: center;
            background-color: #f9f9f9;
        }
        
        .weather-icon {
            font-size: 80px;
            margin: 10px 0;
        }
        
        .temperature {
            font-size: 48px;
            font-weight: bold;
            margin: 10px 0;
        }
        
        .weather-description {
            font-size: 20px;
            color: #666;
            text-transform: capitalize;
        }
        
        .city-name {
            font-size: 24px;
            margin-bottom: 10px;
        }
        
        .weather-details {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            padding: 20px;
        }
        
        .detail-card {
            background-color: #f1f2f6;
            padding: 15px;
            border-radius: 10px;
            text-align: center;
        }
        
        .detail-value {
            font-size: 20px;
            font-weight: bold;
            margin: 5px 0;
        }
        
        .detail-label {
            font-size: 14px;
            color: #666;
        }
        
        .forecast {
            padding: 20px;
        }
        
        .forecast-title {
            margin-bottom: 15px;
            text-align: center;
            color: #2d3436;
        }
        
        .forecast-list {
            display: flex;
            justify-content: space-between;
            overflow-x: auto;
            gap: 10px;
        }
        
        .forecast-item {
            min-width: 100px;
            text-align: center;
            padding: 10px;
            background-color: #f1f2f6;
            border-radius: 10px;
        }
        
        .forecast-day {
            font-weight: bold;
            margin-bottom: 5px;
        }
        
        .forecast-temp {
            font-size: 18px;
            margin: 5px 0;
        }
        
        .unit-toggle {
            text-align: center;
            padding: 10px;
            background-color: #f9f9f9;
        }
        
        .unit-btn {
            background: none;
            border: 1px solid #0984e3;
            color: #0984e3;
            padding: 5px 15px;
            border-radius: 15px;
            cursor: pointer;
            margin: 0 5px;
        }
        
        .unit-btn.active {
            background-color: #0984e3;
            color: white;
        }
        
        .loading {
            text-align: center;
            padding: 20px;
            display: none;
        }
        
        .error-message {
            text-align: center;
            padding: 20px;
            color: #e74c3c;
            display: none;
        }
        
        @media (max-width: 600px) {
            .weather-details {
                grid-template-columns: 1fr;
            }
            
            .forecast-list {
                flex-direction: column;
            }
            
            .forecast-item {
                min-width: auto;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }
        }