/* ==========================================
   VESTA DIGITAL - ESTILOS PRINCIPALES
   ========================================== */

:root {
    --vsd-blue-splash: #1E3A5A;
    --vsd-blue-splash-glow: rgba(30, 58, 90, 0.5);
}

/* ------------------------------------------
   ESTILOS GENERALES
   ------------------------------------------ */
body {
    background-color: #f8f9fa;
    color: #212529;
    overflow-x: hidden;
}

.fw-extrabold {
    font-weight: 800;
}

/* ------------------------------------------
   1. PANTALLA SPLASH (AZUL #1E3A5A)
   ------------------------------------------ */
.vsd-pantalla-carga {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at center, #1E3A5A 0%, #0c1826 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Ajuste para elevar el logo y el texto */
.vsd-bloque-central {
    width: 90%;
    max-width: 420px;
    margin-top: -80px; /* Desplaza el bloque entero hacia arriba */
}

/* Logo Animado en Splash */
.vsd-logo-splash-img {
    max-width: 190px;
    height: auto;
    filter: drop-shadow(0 0 18px var(--vsd-blue-splash-glow)) drop-shadow(0 10px 15px rgba(0, 0, 0, 0.6));
    animation: vsd-float-logo 3.5s ease-in-out infinite;
}

@keyframes vsd-float-logo {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 15px rgba(30, 58, 90, 0.4)) drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5));
    }
    50% {
        transform: translateY(-8px);
        filter: drop-shadow(0 0 28px rgba(30, 58, 90, 0.8)) drop-shadow(0 16px 20px rgba(0, 0, 0, 0.7));
    }
}

/* Tipografía de Splash */
.vsd-titulo-elegante {
    font-weight: 900;
    font-size: 2.5rem;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    display: inline-block;
}

.vsd-subtitulo-elegante {
    font-weight: 800;
    color: #94a3b8;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Indicadores de Carga */
.vsd-contenedor-carga {
    width: 100%;
}

.vsd-texto-carga {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.vsd-barra-progreso {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}


.vsd-progreso-fill {
    width: 0%;
    height: 100%;
    background: #ffffff; /* Cambiado a blanco puro */
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8); /* Resplandor blanco */
    transition: width 0.3s ease;
}


/* ------------------------------------------
   2. LANDING PAGE
   ------------------------------------------ */
.vsd-main-content {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.vsd-main-content.vsd-visible {
    opacity: 1;
}

.vsd-logo-nav-img {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.vsd-hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.vsd-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Selección de Roles en Modal */
.vsd-card-role-select {
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s ease;
}

.vsd-card-role-select:hover {
    border-color: #1E3A5A;
    box-shadow: 0 8px 24px rgba(30, 58, 90, 0.18);
    transform: translateY(-3px);
}