/* facial.css — se agrega ADEMÁS de LoginRegister.css, no la reemplaza */

.separador-o {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: #9a9a9a;
    font-size: 0.85rem;
}
.separador-o::before,
.separador-o::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e3e3e3;
}

.btn-secundario {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1.5px solid #d8d8d8;
    background: #fff;
    color: #1f1f1f;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.btn-secundario:hover { border-color: #a8a8a8; background: #fafafa; }
.btn-secundario svg { width: 20px; height: 20px; }
.btn-ancho { width: 100%; }

.alerta-error {
    background: #fdecea;
    border: 1px solid #f5c2c0;
    color: #9c2b2b;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.alerta-info {
    background: #eaf3fd;
    border: 1px solid #bcdcf7;
    color: #1e4f78;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* ---------- Modal facial (login.php) ---------- */
.modal-facial {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 20, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}
.modal-facial.oculto { display: none; }

.modal-facial-contenido {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    position: relative;
}
.modal-facial-contenido h3 {
    font-family: "Fraunces", serif;
    margin-bottom: 6px;
}
#estado-facial {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 14px;
    min-height: 1.2em;
}
.cerrar-modal {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: #888;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    margin-bottom: 16px;
}
.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1); /* efecto espejo, más natural */
}

/* ---------- Página registrar_facial.php ---------- */
.facial-card {
    max-width: 460px;
    margin: 0 auto;
    text-align: center;
}
.facial-acciones {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}
.enlace-omitir {
    color: #666;
    font-size: 0.9rem;
    text-decoration: underline;
}