/**
 * Mode Switcher Styles - EaseRH
 * Estilos para alternância de modo Admin/Usuário
 * @version 1.0
 */

.mode-switcher-container {
    position: relative;
}

.mode-switcher {
    position: relative;
    display: inline-flex;
    background: transparent;
    border-radius: 25px;
    padding: 0;
    gap: 0;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    overflow: hidden;
}

.mode-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid transparent;
    background: transparent;
    color: #6c757d;
    font-size: 13px;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.mode-btn i {
    font-size: 14px;
}

.mode-btn.active {
    background-color: var(--custom-primary-color, #6366f1) !important;
    color: #fff !important;
    border-color: var(--custom-primary-color, #6366f1) !important;
    box-shadow: none;
}

.mode-btn.active i,
.mode-btn.active span {
    color: #fff !important;
}

.mode-btn:not(.active):hover {
    color: #495057;
    background: rgba(0, 0, 0, 0.04);
}

.alert-mode-notification {
    animation: slideDown 0.3s ease-out;
    background: var(--custom-primary-color, #6366f1);
    color: #fff;
    margin-bottom: 1rem;
}

.alert-mode-notification .btn-light {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    font-weight: 500;
    transition: all 0.2s;
    color: var(--custom-primary-color, #6366f1);
}

.alert-mode-notification .btn-light:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: var(--custom-primary-color, #6366f1);
}

.alert-mode-notification i {
    color: inherit;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .mode-btn span {
        display: none;
    }

    .mode-btn {
        padding: 8px 12px;
    }

    .mode-switcher {
        padding: 0;
    }

    .alert-mode-notification span {
        font-size: 0.85rem;
    }

    .alert-mode-notification .btn-light {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
}
