/* Hoja de estilo principal usada por todas las pantallas de la aplicación */

/* Generales */
html {
    scrollbar-color: transparent transparent;
}
body {
    padding-top: 20px;   
}
.titulo-generico {    
    font-family: "Montserrat";
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    text-align: left;
    color: #c11b29;   
    margin-bottom: 0; 
}
.descripcion-titulo {  
    font-family: "Montserrat";
    font-size: 15px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.30000001192092896px;
    text-align: left;
    color: #668392;
    margin-bottom: 0;
}
.btn-primary {
    background: #c11b29 !important;
    border: none !important;
    border-radius: 50px !important;
    transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover  { background: #a0151f !important; }
.btn-primary:active { background: #8a1119 !important; transform: scale(0.97); }
.btn-accion {
    width: 100%;
    margin-top: 20px;
}
.form-control {
    border-color: #e0e0e0 !important;
    border-radius: 10px !important;
}
.form-control:focus {
    border-color: #003049 !important;
    box-shadow: 0 0 0 3px rgba(0, 48, 73, 0.1) !important;
}
.form-text {
    padding-top: 5px;
}
label.form-label {
    font-weight: 600;
}

/* Loader */
body.wrapper-loader {
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;    
    padding-top: 0;
}
#container-loader {   
    display: none;
}
#container-loader .spinner-border {
    color: #d82330 !important;   
}

/* Buscador */
.buscador {
    height: 48px;
    border-radius: 8px;
    background: #F4F7F5;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: #003049;
}

/* Menú de Navegación Fijo */
#menu-principal {
    background: white;
    box-shadow: 0px -4px 4px 0px #0000000A;
}
#menu-principal a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Montserrat";
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.30000001192092896px;
    text-align: center;
    color: #668392;
    text-decoration: none;
    cursor: pointer;
}
#menu-principal a.item-activo {
    color: #2BA309;
}
#menu-principal .container-fluid {
    padding-left: 15px; 
    padding-right: 15px;
    justify-content: space-around;
}
#menu-principal a img.btn-nav {
    max-width: 32px;
}
#menu-principal .btn-inicio {
    width: 49px;
}
#menu-principal a.actived {
    color: #2BA309 !important;
}

/* Modal Menú */
#modal-menu-principal {
    background: white;
}
#modal-menu-principal .modal-content {
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 32px;
    padding-bottom: 32px;
}
#modal-menu-principal .modal-body {
    flex: none;
}
#modal-menu-principal .modal-header {
    border-bottom: none;
    margin-bottom: 18px;
}
#modal-menu-principal .container-fluid {
    padding: 0;
}
#modal-menu-principal .container-fluid .row {
    row-gap: 16px;
}
.img-modal-menu {
    max-width: 80px;
}
#modal-menu-principal .btn-link {
    padding-bottom: 20px;
    display: inline-block;
    font-family: "Montserrat";
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-align: left;
    color: #324054;
    text-decoration: none;
}
#modal-menu-principal .btn-link img {
    width: 24px;
    margin-right: 16px;
}

/* Sección Volver */
.wrapper-opciones {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}
a:has(.icon-volver) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin-left: -10px;
}
.wrapper-opciones img.icon-volver {
    width: 10px;
}

/* Animación de entrada en pantallas internas */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.container-lg > .row:not(.wrapper-opciones) {
    animation: fadeSlideUp 0.25s ease both;
}
.container-lg > .row:not(.wrapper-opciones):nth-child(2) { animation-delay: 0.05s; }
.container-lg > .row:not(.wrapper-opciones):nth-child(3) { animation-delay: 0.10s; }
.container-lg > .row:not(.wrapper-opciones):nth-child(4) { animation-delay: 0.15s; }
.container-lg > .row:not(.wrapper-opciones):nth-child(5) { animation-delay: 0.20s; }