/* Estilos específicos para la página de login */
body {
    position: relative;
    /* Color de fondo inicial mientras carga la imagen */
    background-color: #1e293b !important;
    overflow: hidden; /* Importante para los efectos */
}

/* Contenedor para la imagen de fondo */
.bg-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Inicialmente invisible */
    transform: scale(1.05); /* Ligeramente más grande para efecto zoom */
    transition: opacity 1.5s ease-out, transform 2s ease-out;
    z-index: -1;
}

/* Overlay para oscurecer la imagen */
.bg-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

/* Cuando la imagen ha cargado */
body.bg-loaded .bg-image-container {
    opacity: 1;
    transform: scale(1); /* Tamaño normal */
}
/* También podemos agregar un efecto sutil al slogan */
body::after {
    content: 'Bienvenidos a BappNetwork...';
    position: absolute;
    bottom: 50%;
    left: 10%;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    z-index: 1;
    max-width: 50%;
    line-height: 1.2;
    opacity: 0; /* Inicialmente invisible */
    transform: translateY(20px); /* Comienza un poco más abajo */
    animation: fadeInSlogan 1.5s ease-out 0.3s forwards; /* Retrasado ligeramente después de la imagen */
}

@keyframes fadeInSlogan {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilo para botón de login */

.fi-simple-page button[type="submit"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.fi-simple-page button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fi-simple-page button[type="submit"]:hover::after {
    left: 100%;
}

/* Asegurar que el contenedor este a la derecha */
.fi-simple-layout > div {
    display: flex !important;
    justify-content: flex-end !important;
    padding-right: 0 !important;
    height: 100vh !important;
    align-items: stretch !important;
}
/* Ajuste del tamaño del logo */
.fi-logo {
    width: auto !important;
    height: 60px !important; /* Ajusta este valor según necesites */
    margin: 0 auto 1.5rem !important;
}
/* Ajuste específico para la clase py-12 altura campos */
.py-12,
div.py-12,
.fi-simple-page.py-12,
main.py-12 {
    padding-top: 10rem !important;
    padding-bottom: 3rem !important;
}

/* Anular la clase .my-16 que limita la altura */
.my-16,
main.my-16,
.fi-simple-main.my-16,
main.fi-simple-main.my-16 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    height: 100vh !important;
    min-height: 100vh !important;
}