/* Statut du rafraîchissement */
.refresh-status {
    margin: 1rem 0;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
}

.refresh-status.active {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #22c55e;
}

.refresh-status.inactive {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

/* Countdown */
.refresh-countdown {
    text-align: center;
    margin: 0.5rem 0;
    font-size: 0.85rem;
    color: #6b7280;
}

.refresh-countdown small {
    display: block;
    margin: 0.2rem 0;
}

/* Bouton toggle */
.btn-toggle {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.btn-toggle.active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Sélecteur d'intervalle */
#refreshInterval {
    padding: 10px;
    border: 2px solid #d1d5db;
    border-radius: 5px;
    font-size: 0.9rem;
    min-width: 180px;
}

/* Animation de pulse pour le statut actif */
.refresh-status.active {
    animation: pulse-refresh 2s ease-in-out infinite;
}

@keyframes pulse-refresh {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
}
