/* ESTILOS - ScrollTop */
#scrollTop{
    display: none;
    font-size: 1.2rem !important;
    position: fixed;
    bottom: 15px;
    right: -2px;
    z-index: 5;
    border: none !important;
    background-color: #6F1635 !important; 
    /* background-color: rgba(0, 70, 73,0.55) !important; */
    background-color: rgba(105, 29, 138, 0.55) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
}
#scrollTop:hover{
    background-color: #f5f5f5 !important;  
}
/* ESTILOS - ScrollTop */



/* ESTILOS - LOGIN */
.loginFormContainer{
    margin: auto;
    min-width: 350px !important;
    width: 80% !important;
    max-width: 600px !important;
}

.imgLogin{
    width: 85%;
}
/* ESTILOS - LOGIN */



/* ESTILOS - HEADER */
header{
    top: 0;
    width: 100%;
}
#datos_resumen .header{
   background-color: #6F1635 !important;   
}
.header_antes_logueo{
    background: none;
    /* background-color: rgb(0, 70, 73);
    border-bottom: solid 4px rgb(0, 70, 73); */
    background-color: #6F1635 !important; 
    border-bottom: solid 4px #ffffff;
    /* position: fixed !important; */
    width: 100% !important;
    top: 0 !important;
    z-index:1;
}

.header_logueado{
    background: none;
    /* background-color: rgb(0, 70, 73); */
    /* border-bottom: solid 4px rgb(0, 70, 73); */
    /* position: fixed !important; */
    width: 100% !important;
    top: 0 !important;
    z-index:1;
}

#frm_Login {
    all: unset !important;
    background-color: #ffffff !important;
    color: black !important;
    border: 0;
}

.loginContainerCSS{
    padding-top: 50px;
    float: right;
    width: 47%;
    margin-right: 3%;
}

.input-login{
    all: unset !important;
    margin-left: 30px !important;
    border: 1px !important;
    background-color: #ffff !important;
    width: 230px !important;
    height: 44px !important;
    border-left: 4px solid black !important;
    border-bottom: 2px solid black !important ;
    text-indent: 20px !important;
    font-size: 10pt !important;
    font-weight: bold !important;
    display: inline-block;
}

.legend-text {
  margin-left: 18px !important;
  border-left: 3px solid #6F1635 !important; /* vino institucional */
  border-bottom: 3px solid #6F1635 !important; /* vino institucional */
  font-size: 32pt !important;
  color: #6F1635 !important; /* color del texto */
}

.testback{
    width: 100% !important;
    /* padding-top: 96px !important; */
    background-color: #6F1635 !important; 
    border-bottom: 2px solid #f5f5f5
    z-index: 8;
}

.testback #menu {
    background-color: #6F1635 !important; 
}

@media(min-width: 1024px){
    .wrapper {
        width: 98%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media(min-width: 1370px){
    .wrapper {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}
.main-menu > li > a {
    min-width: auto !important;
}
#toggle-menu, #menu a{
    padding: 1.5em 8px !important;
}

#menu a{
    color: #ffff;
}

#menu a:hover {
    transition: background-color 0.5s, color 0.5s; /* Transición suave */
    background-color: #ffff;
   background-color: #fff4ea  !important;  
}

.sub-menu{
    width: auto !important;
    min-width: 180px !important;
    background: none !important;
    background-color: none !important;
    padding: 0px !important;
}

.sub-menu li{
    border: solid 1px #212121 !important;
    margin: 0px !important;
    padding: 0px !important;
}

#menu .sub-menu a{
    background-color: #6F1635;
    color: #f5f5f5;
    text-shadow: none;
    margin: 0 !important;
}

#menu .sub-menu a:hover{
    background: #f5f5f5 !important;
    color: #6F1635; 
}

#toggle-menu{
    background-color: #6F1635; 
}

.menuContainer{
   background-color: #6F1635 !important; 
}

hr{
    border-color: #212121;
}
h3 { color: #212121 !important; }
/* ESTILOS - HEADER */

/* FORMS */
.header-title{
    background-color: #6F1635;
    border-radius:  12px 12px 0px 0px !important;
    margin-bottom: 0px;
}

form{
    border-radius: 0px 0px 12px 12px !important;
    -moz-border-radius: 0px 0px 12px 12px !important;
    -webkit-border-radius: 0px 0px 12px 12px !important;
    border: 2px solid #212121;
    background-color: #f5f5f5;
    padding: 1rem !important;
    position: relative;
    /* z-index: 1; */
}

form legend{
    color: #212121 !important;
    border-bottom: 1px solid #212121 !important; 
}
/* FORMS */

/* ESTILOS - BOTONES */
.buttons-container{
    background: none !important;
    border-top: 1px solid #636569; /* gris institucional (Pantone Cool Gray 10 C) */
    /* border-top: 1px solid rgba(0, 70, 73, 0.2); */
}

.btn_c_primary, .btn_c_secondary, .btn_c_success, .btn_c_danger, .btn_c_warning, .btn_c_info, .btn_c_light, .btn_c_dark{
    border: none !important;
    color: #f5f5f5 !important;
    border-radius: .8rem;
    transition: .1s ease-in-out;
    box-shadow: -2px -2px 6px rgba(0, 0, 0, .5),
                -2px -2px 4px rgba(0, 0, 0, 0.3),
                 2px 2px 2px rgba(112, 38, 63, .4),  /* sombra vino institucional PANTONE 216 C */
                 2px 2px 4px rgba(0, 0, 0, .09);
    margin: 2px;
}

.btn_c_primary:hover, .btn_c_secondary:hover, .btn_c_success:hover, .btn_c_danger:hover, .btn_c_warning:hover, .btn_c_info:hover, .btn_c_light:hover, .btn_c_dark:hover{
    box-shadow: -2px -2px 6px rgba(0, 0, 0, .4),
                -2px -2px 4px rgba(0, 0, 0, 0.2),
                 2px 2px 2px rgba(75, 93, 93, .3),   /* sombra gris-verde institucional Pantone P 85-5 C */
                 2px 2px 4px rgba(0, 0, 0, .08);
}

.btn_c_primary:active, .btn_c_secondary:active, .btn_c_success:active, .btn_c_danger:active, .btn_c_warning:active, .btn_c_info:active, .btn_c_light:active, .btn_c_dark:active{
    box-shadow: -2px -2px 6px rgba(0, 0, 0, .4),
                inset -2px -2px 4px rgba(0, 0, 0, 0.2),
                inset 2px 2px 2px rgba(219, 198, 179, 0.3),  /* luz interna beige institucional Pantone 482 C */
                inset 2px 2px 4px rgba(0, 0, 0, .08);
}
/* Primary */
.btn_c_primary {
  background-color: #70263F !important; /* Vino institucional Pantone 216 C */
}

.btn_c_primary:hover {
  transition: background-color 0.6s, color 0.6s;
  background-color: #4A5D5D !important; /* Gris verdoso institucional Pantone P 85-5 C */
  color: #ffffff !important;
}

.btn_c_primary:active {
  background-color: #6F1635 !important; /* Beige institucional Pantone 482 C */
}


/* Success EX */
.btn_c_success {
  background-color: #6F1635 !important; /* vino institucional */
  color: #f5f5f5 !important;            /* blanco suave */
}

.btn_c_success:hover {
  background-color: #b7a4d9 !important; /* lila claro institucional */
  color: #212121 !important;            /* gris oscuro para contraste */
  transition: background-color 0.6s, color 0.6s;
}

.btn_c_successx:active {
  background-color: #6F1635 !important; /* Beige institucional Pantone 482 C */
}

/* Secondary */
.btn_c_secondary {
  background-color: #636569 !important; /* Gris oscuro institucional – Pantone Cool Gray 10 C */
}

.btn_c_secondary:hover {
  background-color: #4A5D5D !important; /* Gris verdoso institucional – Pantone P 85-5 C */
}

.btn_c_secondary:active {
  background-color: #70263F !important; /* Vino institucional – Pantone 216 C */
}


/* Success */
.btn_c_success {
  background-color: #6F1635 !important; /* Beige institucional – Pantone 482 C */
}

.btn_c_success:hover {
  transition: background-color 0.6s, color 0.6s;
  background-color: #70263F !important; /* Vino institucional – Pantone 216 C */
  color: #f5f5f5 !important; /* Blanco humo */
}

.btn_c_success:active {
  background-color: #4A5D5D !important; /* Gris verdoso institucional – Pantone P 85-5 C */
}

/* Danger */
.btn_c_danger {
  background-color: #70263F !important; /* Vino institucional – Pantone 216 C */
}

.btn_c_danger:hover {
  transition: background-color 0.6s, color 0.6s;
  background-color: #6F1635 !important; /* Beige institucional – Pantone 482 C */
  color: #212121 !important; /* Negro institucional */
}

.btn_c_danger:active {
  background-color: #4A5D5D !important; /* Gris verdoso institucional – Pantone P 85-5 C */
}


/* Warning */
.btn_c_warning {
  background-color: #6F1635 !important; /* Beige institucional – Pantone 482 C */
}

.btn_c_warning:hover {
  transition: background-color 0.6s, color 0.6s;
  background-color: #636569 !important; /* Gris oscuro – Pantone Cool Gray 10 C */
  color: #f5f5f5 !important;
}

.btn_c_warning:active {
  background-color: #4A5D5D !important; /* Gris verdoso – Pantone P 85-5 C */
}



/* Info */
.btn_c_info {
  background-color: #636569 !important; /* Gris oscuro institucional */
}

.btn_c_info:hover {
  background-color: #6F1635 !important; /* Beige institucional */
  color: #70263F !important; /* Vino institucional */
}

.btn_c_info:active {
  background-color: #4A5D5D !important; /* Gris verdoso */
}

/* Light */
/* Light */
.btn_c_light {
  background-color: #f5f5f5 !important; /* Blanco humo */
}

.btn_c_light:hover {
  background-color: #6F1635 !important; /* Beige institucional */
  color: #212121 !important; /* Texto oscuro */
}

.btn_c_light:active {
  background-color: #636569 !important; /* Gris institucional */
}

//* Dark */
.btn_c_dark {
  background-color: #70263F !important; /* Vino institucional */
}

.btn_c_dark:hover {
  background-color: #4A5D5D !important; /* Gris verdoso */
}

.btn_c_dark:active {
  background-color: #636569 !important; /* Gris oscuro */
}


/* Link */
.btn_c_link {
  color: #70263F !important;
}

.btn_c_link:hover {
  cursor: pointer !important;
  color: #70263F !important;
  border-bottom: solid 1px #70263F !important;
}


/* Lista_acciones */
.btn_lista_acciones {
  border-radius: 12px 12px 0px 0px !important;
  background-color: #70263F !important; /* Vino institucional – Pantone 216 C */
}

.btn_lista_acciones:hover {
  background-color: #70263F !important; /* Sin cambio de tono */
}

.btn_lista_acciones:active {
  background-color: #4A5D5D !important; /* Gris verdoso para efecto activo */
}

/* Danger institucional */
.menu-actions .btn_c_danger {
  border-radius: 0px 0px 0px 0px !important;
  background-color: #70263F !important; /* Vino institucional */
  box-shadow:
    0px 0px 6px 0px rgba(0, 0, 0, 0.4),
    0px 6px 6px rgba(0, 0, 0, 0.2),
    2px 2px 4px rgba(0, 0, 0, 0.03),
    4px 4px 6px rgba(0, 0, 0, 0.08);
}

.menu-actions .btn_c_danger:active {
  background-color: #5d1432 !important; /* Vino más profundo para feedback táctil */
  box-shadow:
    inset -2px -2px 6px rgba(0, 0, 0, 0.4),
    inset -2px -2px 4px rgba(0, 0, 0, 0.2),
    inset 2px 2px 2px rgba(0, 0, 0, 0.03),
    inset 2px 2px 4px rgba(0, 0, 0, 0.08);
}


/* DataTables - Botón activo */
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: none !important;
  background-color: #70263F !important; /* Vino institucional (Pantone 216 C) */
  border-color: #70263F !important;
  color: white !important;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* DataTables - Hover */
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: none !important;
  background-color: #70263F !important; /* Vino institucional */
  border-color: #70263F !important;
  color: white !important;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* DataTables - Botones deshabilitados */
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  background: none !important;
  background-color: #f5f5f5 !important; /* Blanco humo */
  border-color: #f5f5f5 !important;
  color: #9e9e9e !important; /* Gris medio institucional */
  cursor: not-allowed !important;
}

/* DataTables - Botones normales */
.dataTables_wrapper .dataTables_paginate .paginate_button {
  background: none !important;
  border: 1px solid transparent;
  color: #70263F !important; /* Vino profundo */
  padding: 4px 8px;
  margin: 0 2px;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Filas impares (alternancia visual en tabla) */
body tr.odd {
  background-color: #D6D6D6 !important; /* Gris claro institucional */
}

tbody tr.even {
  background-color: #FFFFFF !important; /* Blanco limpio para alternancia */
}
/* ESTILOS - BOTONES */


/* ESTILOS - STEPPER */
.progressbar li.active {
    color: #ffffff !important;
    font-weight: 900;
    background-color: #6F1635;
    box-shadow: inset -2px -2px 6px rgba(0, 0, 0, .4),
        inset -2px -2px 4px rgba(0, 0, 0, 0.2),
        inset 2px 2px 2px rgba(0, 0, 0, .03),
        inset 2px 2px 4px rgba(0, 0, 0, .08) !important;
}
.progressbar li.active:hover {
    background-color: #6F1635;
    box-shadow: -2px -2px 6px rgba(0, 0, 0, .4),
        -2px -2px 4px rgba(0, 0, 0, 0.2),
        2px 2px 2px rgba(0, 0, 0, .03),
        2px 2px 4px rgba(0, 0, 0, .08) !important;
}
.progressbar li.active:before,
.progressbar li.active:after,
.progressbar li.active+li:after {
    background-color: transparent !important;
    border-color: transparent !important;
    color: transparent !important;
}

/* OK */
.progressbar li.ok {
    color: #b7a4d9 !important;
    font-weight: bold !important;
}
.progressbar li.ok:before,
.progressbar li.ok:after,
.progressbar li.ok+li:after {
    border-color: transparent !important;
    background-color: transparent !important;
}

/* Principales stepper */
.progressbar {
    width: 100%;
    margin: auto;
    counter-reset: step -1;
    background-color: #6F1635;
}

.progressbar li {
    list-style-type: none;
    width: 10.7%;
    float: left;
    font-size: 0.8em;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    min-height: 40px;

    background-color: #76214F;
    border: none !important;
    color: #ffffff;
    transition: .1s ease-in-out;
    box-shadow: -2px -2px 6px rgba(0, 0, 0, .5),
        -2px -2px 4px rgba(0, 0, 0, 0.3),
        2px 2px 2px rgba(0, 0, 0, .04),
        2px 2px 4px rgba(0, 0, 0, .09);
    margin: 0px;
}
.progressbar li:hover {
    background-color: #9e9e9e;
    box-shadow: -2px -2px 6px rgba(0, 0, 0, .4),
        -2px -2px 4px rgba(0, 0, 0, 0.2),
        2px 2px 2px rgba(0, 0, 0, .03),
        2px 2px 4px rgba(0, 0, 0, .08) !important;
}
.progressbar li:active {
    background-color: #76214F;
    box-shadow: inset -2px -2px 6px rgba(0, 0, 0, .4),
        inset -2px -2px 4px rgba(0, 0, 0, 0.2),
        inset 2px 2px 2px rgba(0, 0, 0, .03),
        inset 2px 2px 4px rgba(0, 0, 0, .08) !important;
}

.alerterror {
    margin-left: 10%;
}

.progressbar li:after {
    width: 100%;
    height: 2px;
    content: '';
    position: absolute;
    background-color: #9e9e9e;
    top: 15px;
    left: -50%;
    z-index: -1;
}

.progressbar li:first-child:after {
    content: none;
}

.progressbar li:before {
    width: 30px;
    height: 30px;
    counter-increment: step;
    line-height: 30px;
    border: 2px solid #9e9e9e;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background-color: white;
}

.container_bar {
    margin: 0px;
}
/* ESTILOS - STEPPER */


/* ESTILOS - MODAL */
.modal-header {
    background-color: #6F1635 !important; /* Morado oscuro institucional */
}

.modal-body {
    background-color: #f2f2f7 !important; /* Gris neutro claro */
}

.modal-footer {
    background-color: #f2f2f7 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
/* ESTILOS - MODAL */

/* Colocar hasta abajo el footer: */
body {
    min-height: 100vh;
    margin: 0;
    position: relative;
    background-color: #ffffff;
    font-family: "Verdana", sans-serif;
    font-size: 11pt;
}

body::after {
    content: '';
    display: block;
    height: 20px; /* Set same as footer's height */
    margin-top: 5px;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 20px;
    padding-top: 0px !important;
    text-align: center;
    vertical-align: middle;
    background-color: #6F1635 !important; /* Color Vino */
    color: #FFFFFF;/*Color del texto en blanco */
    z-index: -100;
}

/* Fin de colocar hasta abajo el footer: */



/**********************************************************************************************************/
/**********************************************************************************************************/
/********************************************** MENÚ LATERAL **********************************************/
/**********************************************************************************************************/
/**********************************************************************************************************/

/* Pantallas grandes */
@media(min-width: 1014px){
    .menuContainer {
        position: fixed;
        top: 0px;
        max-width: 255px !important;
        min-width: 255px !important;
        width: 255px !important;
        height: calc(100%) !important;
        background-color: #6F1635; /* Morado institucional */
        box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    }

    .menuContainer .testback {
        position: relative !important;
        border-bottom: none !important;
    }

    .testback .wrapper {
        width: 100% !important;
        margin: auto !important;
    }

    #menu li {
        width: 100% !important;
    }

    #menu li > a {
        font-size: 0.74rem !important;
        padding: 14px 10px !important;
    }

    #menu .message-box {
        display: none !important;
    }

    #menu .sub-menu {
        border: solid 2.5px #5f5f77 !important; /* Gris institucional */
        border-top: solid 4px white !important;
        left: 6% !important;
        margin-top: -16px !important;
    }

    #menu .sub-menu li {
        width: 100% !important;
        border: none !important;
    }

    #menu .sub-menu .sub-menu {
        border: solid 1px #5f5f77 !important;
        border-top: solid 4px white !important;
        left: 40% !important;
        margin-top: 30px !important;
        min-width: 150px !important;
    }

    .masterContainer {
        margin-top: 0px !important;
        margin-bottom: 0px !important;
        margin-left: 255px !important;
        padding: 10px !important;
        padding-top: 0px !important;
    }
}

/* Pantallas pequeñas */
@media(max-width: 1013px){
    .testback {
        top: 100px !important;
    }

    .masterContainer {
        margin-top: 0px;
        padding: 10px !important;
        padding-top: 0px !important;
    }
}


/**********************************************************************************************************/
/**********************************************************************************************************/
/********************************************** MENÚ LATERAL **********************************************/
/**********************************************************************************************************/
/**********************************************************************************************************/
