:root {
    --bg: #f8fafc;
    --primary: #0f172a;
    --accent: #3b82f6;
    --card-bg: #ffffff;
    --text-main: black;
    --text-muted: black;
}

* { margin: 0; 
    padding: 0; 
    box-sizing: border-box;
 }
body { 
    background-color: var(--bg); 
    font-family: 'Inter', sans-serif; 
    color: var(--text-main);
    line-height: 1.6;
}

.wrapper { 
    max-width: 1200px; 
    margin: 0 auto;
     padding: 40px 20px; 
    }

/* Header */
.main-header { 
    margin-bottom: 40px; 
}
.header-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 20px; 
}
h1 { font-weight: 800; 
    font-size: 1.8rem; 
    letter-spacing: -1px; 
}
h1 span { 
    color: black; 
}

.selector-wrapper { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}
select { 
    padding: 12px 20px; 
    border-radius: 12px; 
    border: 1px solid #e2e8f0; 
    background: white; 
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.hidden { 
    display: none; 
}

/* Dashboard Layout */
.dashboard-content { 
    display: flex; 
    flex-direction: column; 
    gap: 30px;
    animation: fadeIn 0.5s ease;
}

.card { 
    background: var(--card-bg); 
    border-radius: 24px; 
    padding: 40px; 
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.04), 0 8px 10px -6px rgba(0,0,0,0.04);
}

/* Hero Card */
.hero-card { 
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white; 
}
.hero-body { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.hero-text h2 { 
    font-size: 2.5rem; 
    font-weight: 700;
    margin-bottom: 5px; 
}
.hero-text p { 
    color: #94a3b8; 
    font-size: 1.1rem; 
}
.hero-temp { 
    font-size: 5rem; 
    font-weight: 800; 
    color: white; 
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px; 
}

.info-card h3 { 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    color: var(--text-muted); 
    margin-bottom: 25px; 
}

.big-stat { 
    font-size: 2.5rem; 
    font-weight: 600; 
    margin-bottom: 10px; 
}

.weather-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.temp-text {
    font-size: 1.5rem;
    font-weight: 600;
}

.rain-text {
    font-size: 1rem;
    color: var(--text-muted);
}

.big-stat small { 
    font-size: 1.5rem; 
    color: var(--accent); 
}

.recommendation { 
    margin-top: 30px; 
    padding: 15px 20px; 
    background: #eff6ff; 
    border-radius: 12px; 
    color: var(--accent); 
    font-weight: 600; 
}

/* Currency Input */
.currency-input { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 20px; 
}
input[type="number"] { 
    padding: 15px; 
    width: 150px; 
    border: 2px solid #f1f5f9; 
    border-radius: 12px; 
    font-size: 1.5rem; 
    font-weight: 700;
}
.conversion-output h2 { 
    font-size: 3rem; color: #10b981; 
    margin-top: 10px; }


@keyframes fadeIn { 
    from { opacity: 0; 
        transform: translateY(10px); 
    } 
    to { opacity: 1; 
        transform: translateY(0); 
    } 
}

/* Mobile First*/
@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
    }

    .hero-body { 
        flex-direction: column; 
        text-align: center; 
    }
    .hero-temp { 
        font-size: 3.5rem; 
        margin-top: 20px; 
    }
    .header-content { 
        justify-content: center; 
        text-align: center; }
}
