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

:root {
    --dial-size: 100%;
    --container-padding: 2%;
    --font-size-base: 16px;
    --font-size-large: 1.5rem;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: var(--font-size-base);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
}

.weather-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    justify-content: space-between;
    align-items: stretch;
}

.weather-dial {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2%;
}

.dial-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.weather-info {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 2%;
    gap: 2%;
    align-items: center;
}

.weather-info > div {
    background: rgba(255, 255, 255, 0.05);
    padding: 3%;
    border-radius: 10px;
    width: 100%;
    flex: 1;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Règle générale avec spécificité élevée */
body .weather-container .weather-info h2,
.weather-info div h2 {
    display: none !important;
}

@media screen and (max-width: 1200px) {
    body .weather-container .weather-info h2,
    .weather-info div h2 {
        display: none !important;
    }
}

@media screen and (max-width: 992px) {
    body .weather-container .weather-info h2,
    .weather-info div h2 {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    body .weather-container .weather-info h2,
    .weather-info div h2 {
        display: none !important;
    }
}

@media screen and (max-width: 576px) {
    body .weather-container .weather-info h2,
    .weather-info div h2 {
        display: none !important;
    }
}

.weather-info p {
    font-weight: bold;
    font-size: 1.2em;
}

#temp-value, #pressure-value, #wind-combined {
    font-size: 2.5em;
}

#forecast-value {
    font-size: calc(var(--font-size-base) * 0.9);
    line-height: 1.4;
}

#refresh-icon, #fullscreen-icon {
    position: fixed;
    top: 2%;
    padding: 1%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#refresh-icon {
    left: 2%;
}

#fullscreen-icon {
    right: 2%;
}

#refresh-icon:hover, #fullscreen-icon:hover {
    transform: scale(1.1);
}

#refresh-icon i, #fullscreen-icon i {
    font-size: 1.5em;
    color: #ffffff;
}

/* Couleurs dynamiques pour la température */
#temp-value.cold { color: #00E5FF; }
#temp-value.warm { color: #FF6B00; }

/* Couleurs dynamiques pour la pression */
#pressure-value.low { color: #757575; }
#pressure-value.high { color: #E040FB; }

/* Le vent reste en jaune */
#wind-combined { color: #FFC107; }

.temp-ring-bg, .pressure-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 5%;
}

.temp-ring {
    fill: none;
    stroke-width: 5%;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease, stroke 0.5s ease;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
}

.pressure-ring {
    fill: none;
    stroke-width: 5%;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease, stroke 0.5s ease;
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
}

.temp-ring.cold { stroke: url(#tempColdGradient); }
.temp-ring.warm { stroke: url(#tempWarmGradient); }
.pressure-ring.low { stroke: url(#pressureLowGradient); }
.pressure-ring.high { stroke: url(#pressureHighGradient); }

.dial-center {
    fill: #ffffff;
}

.wind-arrow, .wind-arrow-head {
    stroke: #FFC107;
    stroke-width: 2%;
    stroke-linecap: round;
    transform-origin: 50% 50%;
    transition: transform 0.5s ease;
}

.wind-arrow-head {
    fill: #FFC107;
    stroke-width: 1%;
}

@media (max-width: 768px) {
    .weather-container {
        flex-direction: column;
    }

    .weather-dial, .weather-info {
        width: 100%;
        height: 50%;
    }

    .weather-info {
        padding: 4%;
    }

    .weather-info > div {
        margin-bottom: 3%;
    }
}

@media (max-width: 480px) {
    .weather-info p {
        font-size: 1.1em;
    }

    #refresh-icon i, #fullscreen-icon i {
        font-size: 1.2em;
    }
}
