tbody:after {
    content: "-";
    display: block;
    line-height: 1em;
    color: transparent;
}

.badge-acceso {
    background-color: #28a745;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    border-radius: 12px;
    padding: 4px 10px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* Contenedor del interruptor */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

/* Checkbox real oculto */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* El “slider” visual */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

/* Círculo interno */
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

/* Estado activado */
input:checked+.slider {
    background-color: #28a745;
}

input:checked+.slider:before {
    transform: translateX(22px);
}


/* Estilos para Edit Cliente */
/* ----- CONTENEDOR PRINCIPAL CLIENTE ----- */
.cliente-edit-container {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

/* ----- ENCABEZADO DE LA SECCIÓN ----- */
.cliente-edit-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

/* ----- CARDS DE USUARIOS CLIENTE ----- */
.card-usuario-cliente {
    background: #f3f4f6;
    /* gris muy suave pero más visible */
    border: 1.5px solid #d2d6dc;
    /* borde más notorio */
    border-radius: 6px;
    padding: 18px;
    margin-bottom: 22px;
    transition: all .2s ease-in-out;
}

.card-usuario-cliente:hover {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.card-usuario-header {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 6px;
}

.card-usuario-sub {
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
}

/* ----- BOTONES EN CARDS ----- */
.card-usuario-footer button,
.card-usuario-footer a {
    margin-right: 8px;
    /* margin-top: 5px; */
}

/* ----- BOTÓN AGREGAR USUARIO ----- */
.btn-add-usuario {
    background: #4CAF50;
    padding: 8px 14px;
    border-radius: 6px !important;
    font-size: 14px;
    color: #fff !important;
    border: none;
}

.btn-add-usuario:hover {
    background: #43A047;
}

/* ----- SWITCH MAILING / ACTIVO ----- */
.switch-container {
    margin-top: 10px;
    padding: 8px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #eee;
}

/* ----- Estilos password ----- */
/* Wrapper del campo de password */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Input */
.password-input {
    padding-right: 40px !important;
}

/* Botón del ojito */
.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;

    background: transparent;
    padding: 0;
    border: none;


    color: #666;
    /* color suave */
    font-size: 18px;
    /* un poco más grande */
}

.toggle-password:hover {
    color: #000;
    /* más visible al pasar el mouse */
}