:root {
    --primary-color: #4a90e2;
    --bg-gradient: linear-gradient(135deg, #74ebd5 0%, #9face6 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-color: #333;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-image: var(--bg-gradient);
    min-height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    color: var(--text-color);
}

.container {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 450px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

h1 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #2c3e50;
}

.search-box {
    display: flex; /* Resume Requirement: Flexbox */
    gap: 10px;
    margin-bottom: 2rem;
}

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

input:focus {
    border-color: var(--primary-color);
}

button {
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
}

button:hover {
    background-color: #357abd;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

.weather-info {
    text-align: center;
    margin-bottom: 2rem;
}

#city-name {
    font-size: 2.5rem;
    margin: 0.5rem 0;
    color: #2c3e50;
}

.details {
    display: flex;
    justify-content: space-around;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    margin-top: 1rem;
}

.details p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.details span {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-top: 5px;
}

/* Chart Container */
.chart-container {
    position: relative;
    height: 250px;
    width: 100%;
    margin-top: 1rem;
}