/* Feuille de style pour le Tableau de Bord Météo Wunderground */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: transparent;
    margin: 0;
    padding: 20px;
    color: #e0e0e0;
}

.header-wrapper {
    text-align: center;
    width: 100%;
}

.dashboard-header {
    background-color: var(--card-bg-color); 
    border: 1px solid #333;
    border-radius: 12px;
    padding: 15px 25px;
    margin-bottom: 30px;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.dashboard-header h1 {
    color: #ffffff;
    margin: 0 0 5px 0;
    font-size: 1.5em;
}

.dashboard-header p {
    margin: 0;
}

.dashboard-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.weather-card {
    background-color: var(--card-bg-color); 
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    flex: 1;
    min-width: 280px;
    border: 1px solid #333;
}

.chart-card {
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: 1000px;
    max-width: 100%;
}

.weather-card h2 {
    margin-top: 0;
    font-size: 1.2em;
    color: #82b1ff;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.weather-card h2 .fas {
    margin-right: 10px;
}

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1em;
    padding: 8px 0;
}

.data-value {
    font-weight: bold;
    color: #ffffff;
}

/* ==================== RÈGLE CSS QUI MANQUAIT (RESTAURÉE) ==================== */
.main-info .temp-display {
    font-size: 5em;
    font-weight: bold;
    text-align: center;
    color: #ffffff;
    margin: 10px 0 5px 0;
}
/* ============================================================================== */

.main-info .data-row {
    font-size: 1.3em;
}

hr {
    border: 0;
    border-top: 1px solid #333;
    margin: 15px 0;
}

.wg-link {
    display: block;
    text-align: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #333;
    color: #b0c4de;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}

.wg-link:hover {
    background-color: #82b1ff;
    color: #121212;
}

.wg-link .fas {
    margin-right: 8px;
}

.chart-container {
    position: relative;
    height: 350px;
    margin-top: 20px;
}