/* Stili header sistema */
.header {
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    padding: 20px 16px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    margin-bottom: 8px;
    box-shadow: 0 4px 20px var(--accent-glow);
    transition: background var(--transition-normal);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.header-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.header-clock {
    font-size: 0.875rem;
    opacity: 0.9;
}

.header-meteo {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    opacity: 0.9;
}

.header-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.header-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.header-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    min-width: 70px;
}

/* Bottoni modalità e ventola */
.btn-group {
    display: flex;
    gap: 4px;
    flex: 1;
}

.btn-option {
    flex: 1;
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-fast);
    text-align: center;
}

.btn-option.active {
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent-gradient-end);
    font-weight: 700;
}

.btn-option:hover:not(.active) {
    background: rgba(255, 255, 255, 0.25);
}

/* Toggle ON/OFF sistema */
.header-power {
    display: flex;
    align-items: center;
    gap: 12px;
}

.power-label {
    font-size: 0.875rem;
    font-weight: 600;
}

/* Responsive header */
@media (min-width: 640px) {
    .header {
        padding: 24px;
        border-radius: 0 0 20px 20px;
    }
    .header-title {
        font-size: 1.5rem;
    }
}
