/* Bannière de mode sudo */
.sudo-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    position: relative;
}

.sudo-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.sudo-banner-content i {
    font-size: 18px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.sudo-banner-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.sudo-banner-text strong {
    font-weight: 700;
}

.sudo-exit-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sudo-exit-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sudo-exit-btn i {
    font-size: 12px;
}

/* Indicateur dans la sidebar */
.sidebar-sudo-indicator {
    background: rgba(255, 107, 107, 0.1);
    border-left: 3px solid #ff6b6b;
    padding: 8px 12px;
    margin: 10px;
    border-radius: 4px;
    font-size: 12px;
    color: #ff6b6b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-sudo-indicator i {
    font-size: 14px;
}

/* Bouton switch user dans la liste */
.btn-switch-user {
    background: #6c757d;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-switch-user:hover {
    background: #5a6268;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-switch-user i {
    font-size: 11px;
}

/* Responsive */
@media (max-width: 768px) {
    .sudo-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .sudo-exit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .sudo-banner-text {
        font-size: 13px;
    }
}

