/* ==========================================
   ESTILOS GENERALES DEL PLUGIN
   ========================================== */

body {
    font-family: "Nunito", sans-serif !important;
}

/* Botones generales del plugin */
button {
    background-color: #00c4cc;
    color: #fff;
    border-radius: 25px;
}

/* Contenedor principal */
.container {
    margin: 0 auto;
    padding: 20px;
}

/* ==========================================
   ESTILOS PARA TABLAS (versión antigua)
   ========================================== */
.tabla-alumnos {
    margin: 20px auto;
}

.tabla-alumnos table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.tabla-alumnos th {
    color: #485053;
    font-weight: normal;
    text-align: left;
    padding-right: 30px !important;
}

.tabla-alumnos td {
    color: #282a2a;
    font-weight: bold;
}

.tabla-alumnos th,
.tabla-alumnos td {
    border: none;
    border-bottom: 3px solid #ddd;
    padding: 8px;
}

.tabla-alumnos td {
    vertical-align: middle;
}

.tabla-alumnos td img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

/* ==========================================
   ESTILOS PARA SELECTOR DE USUARIOS
   ========================================== */
div.icono-usuario {
    width: auto;
    float: right;
    display: flex;
    align-items: center;
    gap: 10px;
}

div.icono-usuario img {
    margin: 10px 0;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.lista-alumnos.selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.cerrar-dialogo {
    float: right;
    font-size: 30px;
    cursor: pointer;
}

/* ==========================================
   MENÚ DESPLEGABLE DE USUARIO
   ========================================== */
.contendor-icono-usuario {
    display: flex;
    gap: 10px;
    color: black;
}

.menu-usuario::after {
    content: "⌄";
    font-size: 30px;
    color: black;
    position: relative;
    top: 5px;
}

.menu-usuario.activo::after {
    content: "⌃";
    top: 20px;
}

.items-menu {
    position: absolute;
    top: 80px;
    right: 20px;
    width: 220px;
    display: none;
    background: white;
    color: black;
    padding: 10px;
    border-radius: 0 0 10px 10px;
}

.items-menu ul li a {
    color: black;
}

.activo .items-menu {
    display: block;
}

/* ==========================================
   ESTILOS PARA LOGIN
   ========================================== */
div#div-login {
    background: white;
    min-width: 450px;
    justify-content: center;
    text-align: center;
    color: #5dbe9e;
}

div#div-login h3 {
    color: #62c3ca;
}

p.p-login {
    color: #494949 !important;
    text-align: right !important;
}

/* ==========================================
   LISTA DE USUARIOS (Selector de avatares)
   ========================================== */
.lista-usuarios {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
    align-items: center;
}

.usuario {
    display: grid;
    grid-template-rows: 1fr;
    gap: 10px;
    text-align: center;
    padding: 0 10px;
    justify-items: center;
    cursor: pointer;
    border-radius: 10px;
}

.usuario:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   ESTILOS PARA BADGES Y ESTADOS
   ========================================== */
.Nunca,
.Siempre {
    display: inline-block;
    padding: 0 20px;
    border-radius: 15px;
    width: 115px;
    text-align: center;
}

.Nunca {
    background: #febad1;
}

.Siempre {
    background: #a2ebee;
}

.borrar-alumno {
    color: #98a0a6;
}

/* ==========================================
   ESTILOS VARIOS
   ========================================== */
.text-center {
    text-align: center;
    margin: 10px;
}

table {
    border: none !important;
}

a.link-suscripcion {
    color: crimson;
    font-style: oblique;
    font-weight: 700;
    cursor: pointer;
}

.tarjeta {
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 8px rgb(133 205 247 / 45%);
    border: 2px solid #cfcfcf;
    height: calc(100vh - 150px);
    width: 800px;
    padding: 20px;
    margin: auto;
}
#page {
  min-height: calc(100vh - 98px) !important;
}
/* ==========================================
   MODAL DE CONTRASEÑA GENERADA
   ========================================== */
.password-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.password-success-modal {
    background: white;
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.password-success-icon {
    font-size: 64px;
    color: #10b981;
    margin-bottom: 20px;
}

.password-success-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--gm-gray-900);
    margin-bottom: 10px;
}

.password-success-subtitle {
    font-size: 14px;
    color: var(--gm-gray-600);
    margin-bottom: 30px;
}

.password-display {
    background: var(--gm-gray-50);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px solid var(--gm-primary);
}

.password-label {
    font-size: 12px;
    color: var(--gm-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.password-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--gm-primary);
    letter-spacing: 4px;
    font-family: 'Courier New', monospace;
}

.password-words {
    font-size: 16px;
    color: var(--gm-gray-700);
    margin-top: 10px;
    font-weight: 500;
}

.password-warning {
    background: #fef3c7;
    color: #92400e;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-confirm-password {
    background: var(--gm-primary);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-confirm-password:hover {
    background: var(--gm-primary-dark);
    transform: translateY(-1px);
}