:root {
    --glass: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.3);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin: 0;
}

.glass-container {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    width: 450px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.unit-toggle span {
    cursor: pointer;
    opacity: 0.6;
}

.unit-toggle span.active {
    opacity: 1;
    font-weight: bold;
}

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

input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 12px;
    color: white;
    outline: none;
}

input::placeholder { color: rgba(255, 255, 255, 0.7); }

button {
    background: #ffffff;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s;
}

button:hover { transform: translateY(-2px); }

/* Main Weather Card */
.temp-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.temp-display h3 { font-size: 3rem; margin: 0; }

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 2rem 0;
}

.detail-item {
    background: rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

/* Forecast */
.forecast-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.forecast-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 10px;
    min-width: 80px;
    text-align: center;
}

.hidden { display: none; }