/* style login - auntenicacion de 2fa */

:root {
    --app-font-family: "Figtree", "Segoe UI", Tahoma, Arial, sans-serif;
    --apolo-primary: #063d53;
    --apolo-primary-2: #0a536f;
    --apolo-accent: #b45309;
    --apolo-bg: #f7fafc;
    --apolo-surface: #ffffff;
    --apolo-line: #d8e1e8;
    --apolo-text: #0f172a;
    --apolo-muted: #64748b;
}

.apolo-alert {
    border-radius: 12px;
    border: 1px solid var(--apolo-line, #d8e1e8);
    box-shadow: 0 4px 12px rgba(3, 22, 31, 0.06);
    font-weight: 600;
}

.apolo-alert.alert-success {
    background: #ecfdf5;
    border-color: #86efac;
    color: #14532d;
}

.apolo-alert.alert-danger {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #7f1d1d;
}

.apolo-alert.alert-warning {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #78350f;
}

.apolo-alert.alert-info {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1e3a8a;
}

.apolo-badge {
    display: inline-block;
    padding: 0.23rem 0.62rem;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.1px;
    border: 1px solid transparent;
}

.apolo-badge-neutral {
    background: #e8f2f7;
    border-color: #c7dcea;
    color: #0b4f69;
}

.apolo-primary-button {
    min-height: 40px;
    padding: 0.58rem 1.75rem !important;
    border-radius: 999px !important;
    background: var(--apolo-primary, #063d53) !important;
    border-color: var(--apolo-primary, #063d53) !important;
    color: #ffffff !important;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 8px 18px rgba(6, 61, 83, 0.22);
}

.apolo-primary-button:hover,
.apolo-primary-button:focus {
    background: var(--apolo-primary-2, #0a536f) !important;
    border-color: var(--apolo-primary-2, #0a536f) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(6, 61, 83, 0.28);
}

.apolo-primary-button:active {
    background: #042f40 !important;
    border-color: #042f40 !important;
    transform: translateY(1px);
}

/* AsegÃºrate de que el body y html ocupen el 100% de la altura */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Evita scroll horizontal */
    font-family: var(--app-font-family);
    color: #0f172a;
    letter-spacing: 0.01em;
}

body,
button,
input,
select,
textarea,
.navbar-top,
.sidebar,
.main-content,
.form-admin,
.table,
.card {
    font-family: var(--app-font-family) !important;
}

h1, h2, h3, h4, h5, h6,
.card-title,
.re-premium-title,
.trm-title,
.db-title,
.rp-title {
    font-family: var(--app-font-family) !important;
    letter-spacing: -0.02em;
}

/* Estilo para el fondo de pantalla completo */
.full-screen-background {
    background: url('/apolodocs/public/images/imagen-fondo-2fa.png') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh; /* Asegura que ocupe al menos el alto de la ventana */
    width: 100%;
    display: flex; /* Para centrar el contenido de la tarjeta */
    justify-content: center;
    align-items: center;
    font-family: var(--app-font-family);
}

.full-screen-background > .min-h-screen {
    justify-content: flex-start !important;
    min-height: 100vh;
    padding-top: clamp(2rem, 6vh, 4.5rem) !important;
    padding-bottom: 2rem;
}

/* Estilos de la tarjeta de verificaciÃ³n */
.verify-card {
    background-color: rgba(255, 255, 255, 0.95); /* Fondo semitransparente */
    padding: 2.5rem; /* Aumenta un poco el padding */
    border-radius: 1.5rem; /* Bordes mÃ¡s redondeados */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); /* Sombra mÃ¡s pronunciada */
    max-width: 450px; /* Un poco mÃ¡s ancha */
    width: 90%; /* Responsivo */
    margin: 0 auto;
    text-align: center; /* Centra el texto dentro de la tarjeta */
    transform: translateY(0); /* Para posibles animaciones */
    transition: transform 0.3s ease-out;
}

/* Estilos para los tÃ­tulos y texto dentro de la tarjeta */
.verify-card h2 {
    color: #007bff; /* Color primario de Bootstrap */
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.verify-card p.text-muted {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.verify-card .form-control {
    border-radius: 0.75rem; /* Bordes redondeados para inputs */
    padding: 0.75rem 1rem;
    font-size: 1.2rem;
    height: auto; /* Altura automÃ¡tica */
}

.verify-card .btn-primary {
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #007bff;
    border-color: #007bff;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.verify-card .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px); /* PequeÃ±o efecto al pasar el mouse */
}

.verify-card .btn-outline-primary {
    border-radius: 0.75rem;
    font-weight: 500;
}

.verify-card .alert {
    border-radius: 0.75rem;
    font-size: 0.95rem;
}

/* AnimaciÃ³n de entrada para la tarjeta (opcional) */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


.verify-card {
    animation: fadeInScale 0.5s ease-out forwards;
}

/* Ajustes para el logo de la aplicaciÃ³n */
.application-logo-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 1.45rem;
}

.auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.72rem;
    max-width: min(92vw, 760px);
    padding: 0.25rem 1.2rem 0.45rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    box-shadow: none;
    backdrop-filter: none;
}

.auth-brand:hover {
    color: #ffffff;
    text-decoration: none;
}

.auth-brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 82px;
    height: 82px;
    padding: 9px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(2, 26, 56, 0.28);
}

.application-logo-image {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.auth-brand-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    text-align: center;
    line-height: 1.12;
}

.auth-brand-name {
    color: #ffffff;
    font-family: "Figtree", "Segoe UI", Arial, sans-serif;
    font-size: clamp(1.62rem, 3.2vw, 2.25rem);
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.28);
}

.auth-brand-system {
    display: block;
    color: #f7fbfd;
    font-family: "Figtree", "Segoe UI", Arial, sans-serif;
    font-size: clamp(1.62rem, 3.2vw, 2.25rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

@media (max-width: 480px) {
    .auth-brand {
        gap: 0.6rem;
        padding: 0.2rem 0.85rem 0.35rem;
    }

    .auth-brand-logo {
        width: 70px;
        height: 70px;
    }

    .application-logo-image {
        width: 54px;
        height: 54px;
    }
}




/* ESTILOS GENERAL DE LA PAGINACION,  DE TODAS LAS TBALS DEL SISTEMA*/

/* PÃ¡gina activa */
.pagination .active .page-link {
    background-color: var(--apolo-primary, #063d53);
    border-color: var(--apolo-primary, #063d53);
    color: white;
}

/* Bordes entre pÃ¡ginas */
.pagination .page-link {
    border-color: var(--apolo-line, #d8e1e8);
    color: var(--apolo-primary, #063d53);
    background: #fff;
}

.pagination .page-link:hover {
    background-color: #eaf2f7;
    border-color: var(--apolo-primary, #063d53);
    color: var(--apolo-primary, #063d53);
}
