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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.app-header {
    text-align: center;
    margin-bottom: 25px;
}

.app-header h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 8px;
}

.app-header p {
    color: #666;
    font-size: 14px;
}

.search-box {
    display: flex;
    margin-bottom: 25px;
    gap: 10px;
}

#city-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

#city-input:focus {
    border-color: #667eea;
}

#search-btn {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

#search-btn:hover {
    background: #5a6fd8;
}

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

.location-info h2 {
    color: #333;
    font-size: 22px;
    margin-bottom: 5px;
}

.location-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.weather-main {
    margin: 20px 0;
}

.temperature {
    font-size: 48px;
    font-weight: 300;
    color: #333;
    margin: 10px 0;
}

.weather-desc {
    color: #667eea;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
}

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

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

.detail-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    display: block;
}

.detail-value {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    display: block;
}

.error-message {
    background: #ff6b6b;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-top: 15px;
}

.app-footer {
    text-align: center;
    margin-top: 25px;
    color: #666;
    font-size: 12px;
}