
body {
    margin: 0;
    padding: 0;
    font-family: "montserrat";
}
a {
    text-decoration: none;
    color: inherit;
}
a.action {
    color: #652780; /* morado corporativo */

    text-decoration: none;
}

a.action:hover {
    color: #DBEAF2; /* color hover más fuerte */
}

.link-correo {
    color: #056BB3;
    text-decoration: none;
}

.link-correo:hover {
    color: #DBEAF2;
}

h1{
    font-weight: 600;
    font-size: 20px;
    color: #fff;
}
label{
    font-weight: 500;
    font-size: 18px;
    color: #7F7F7F ;
}

h2{
    font-weight: 600;
    font-size: 20px;
    color: #FFFFFF;
}


p{
    font-weight: 500;
    font-size: 18px;
    color: #7F7F7F ;
}

.Cajageneral {
    padding: 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.CajainGen {
    height: 100%;
    display: flex;
    flex-direction: row;
    gap: 25px;
}

.CajaGenImput {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 50%;
}

.Cajain{
    width: 100%;
    height: 100%;
}


.form-control {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    font-weight: 400;
    line-height: 1.5;
    background-color: #DBEAF2;
    border-radius: 5px;
    border: none;
    font-size: 18px;
    box-sizing: border-box;
}

.select2-container .select2-selection--single {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    font-weight: 400;
    line-height: 1.5;
    background-color: #DBEAF2;
    border-radius: 5px;
    border: none;
    font-size: 18px;
    box-sizing: border-box;
    height: 34px;
}

.select2-container {
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    position: relative;
    vertical-align: middle;
    width: 100% !important;
}

.form-C {
    display: block !important;
    width: 100% !important;
    padding: .375rem 2.25rem .375rem .75rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    background-color: #DBEAF2 !important;
    border-radius: 5px !important;
    border: none !important;
    font-size: 18px !important;
    box-sizing: border-box !important;
    height: 136px !important;
}

.Cajaimput{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.Cajad1{
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.Cajad12 {
    height: 100%;
    display: flex;
    gap: 0;
}

.Cajad1h1{
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    content-visibility: auto;
}

.Cajad1h2{
    height: 100%;
    display: flex;
    gap: 15px;
    align-items: center;
}

.Cajainfo{
    height: 100%;
    text-align: center;
    background: #652780;
    border-radius: 30px;
}

.Cajad2{

    display: flex;
    flex-direction: row;
    gap: 15px;
}
.Cajad1h4 {
     width: 33.33%;
     height: auto;
     flex:1;

}

.Cajacheck{
    border-radius: 15px;
    padding: 15px;
    height: 100%;
}

.CajaGenImput1{
    width: 100%;
    height: 100%;
}
.CajaGenImput2 {
    width: 50%;
    height: 285px;
    align-content: end;
}


.tabla-gen {
    width: 100%;
    display: flex;
}

.cajaSelect,
.cajaPruebas {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: stretch;        
}


.cajaSelect1{
    padding: 10px;
}



.cajaP{
    margin-bottom: 10px;
    align-content: center !important;
    display: block;
    margin-bottom: 10px;
}
.cajaP p{
    text-align: center;
    background-color: #E2D3E9;
    color: #652780; font-size: 18px;
    font-family: 'Montserrat';
    font-weight: 600;
    border-radius: 15px;
    height: 49px;
    align-content: center;
}

.Cajafirm{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cajafirmh{
    width: 200px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn {
    background-color: #662482;
    border: none;
    border-radius: 10px;
    width: 150px;
    height: 40px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    border-bottom: 4px solid #A2195B;
    border-right: 4px solid #A2195B;
}

hr{
    background: #A3185B;
    height: 2px;
    width: 80%;
}

.tabla tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}
/*styles para quitar bordes en las tablas bootsfaces con una clase*/

.tbInfantil{
    border: none !important;
}
.tbTardio{
    border: none !important;
}
.tabla{
    border: none !important;
}

.tbTardio.table-bordered > thead > tr > th,
.tbTardio.table-bordered > tbody > tr > th,
.tbTardio.table-bordered > tfoot > tr > th,
.tbTardio.table-bordered > thead > tr > td,
.tbTardio.table-bordered > tbody > tr > td,
.tbTardio.table-bordered > tfoot > tr > td,
.tbInfantil.table-bordered > thead > tr > th,
.tbInfantil.table-bordered > tbody > tr > th,
.tbInfantil.table-bordered > tfoot > tr > th,
.tbInfantil.table-bordered > thead > tr > td,
.tbInfantil.table-bordered > tbody > tr > td,
.tbInfantil.table-bordered > tfoot > tr > td,
.tabla.table-bordered > thead > tr > th,
.tabla.table-bordered > tbody > tr > th,
.tabla.table-bordered > tfoot > tr > th,
.tabla.table-bordered > thead > tr > td,
.tabla.table-bordered > tbody > tr > td,
.tabla.table-bordered > tfoot > tr > td {
    border: none !important;
}


.tbInfantil.table > tbody > tr > td,
.tbTardio.table > tbody > tr > td {
    border: 1px solid transparent !important;
    background-color: white !important;
    border-radius: 5px !important;
    vertical-align: middle !important;
}
.tbInfantil.table-bordered
.tbTardio.table-bordered {
    border: none !important;
}

.tbTardio.table.dataTable thead .sorting_asc:after
.tbInfantil.table.dataTable thead .sorting_asc:after {
    display: none !important;
}

.ui-growl-message p {
    font-weight: normal;
    color: #ffffff !important;
}

.radio, .checkbox {
    position: relative;
    display: block;
    margin-top: 0 !important;
    margin-bottom: 0px;
}

/*Header*/

header {
    background: #65267F;
    padding: 25px;
    height: 115px;
    display: flex;
    flex-direction: row;
}

.headerh1 {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 15px;
}

.headerh1 img {
    width: 57%;
    height: auto;
}

.headerh2 {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-left: 2px;
    padding-left: 15px;
}
.linea {
    height: 6px;
    background: #056BB3;
}

/*Fin Header*/

/*footer*/

footer{
    background: #662681;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.Cajafoh1{
    width: 100%;
    height: 162px;
    display: flex;
        justify-content: center;
        align-items: center;
}
.Cajal1{
    width: 33.33%;
    height: 100%;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;

}

.Cajal1 img{
    width: 46%;
    height: auto;
}

.Cajfi{
    width: 20%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.Cajfp {
    width: 80%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
}

.Cajfp p {
    margin: 0;
    padding: 0;
    font-weight: 500;
    font-size: 18px;
    color: #FFF;
}

/*Fin Footer*/


/* responsive */

@media only screen and (min-width:810px) and (max-width:1000px){

    .CajainGen {
        flex-direction: column;
    }

    .CajaGenImput {
        width: 100%;
    }

    .Cajain {
        display: flex;
        flex-direction: column;
    }

    .Cajain label {
        width: 100%;
    }

    .form-C {
        height: 61px;
    }

    .Cajad1h3 label {
        width: 100%;
    }

    .Cajad1h3 {
        flex-direction: column;
    }

    .form-control {
        font-size: 18px;
    }

    .Cajad2 {
        flex-direction: column;
    }

    .Cajad1h4 {
        height: 100%;
        width: 100%;
    }

    header {
        padding: 15px;
        flex-direction: column;
        height: 138px;
    }

    .headerh1 {
        width: 100%;
        justify-content: center;
        padding-right: 0;
    }

    .headerh1 img{
        width: 50%;
    }

    .headerh2 {
        width: 100%;
        text-align: center;
        border-right: none;
        border-left: none;
    }

    h1 {
        font-size: 18px;
    }

    .headerh3 {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding-left: 0;
    }

    .headerh3 h2 {
        font-size: 18px;
    }

    .Cajageneral {
        padding: 15px;
    }

    h2 {
        font-size: 18px;
    }

    .CajaGenImput {
        flex-direction: column;
    }

    .Cajaimput {
        width: 100%;
    }

    .Cajacheck {
        padding: 8px;
    }

    footer {
        padding: 15px;
    }

    .Cajafoh1 {
        flex-direction: column;
        display: flex;
        height: 201px;
    }

    .Cajal1 {
        width: 100%;
    }

    .Cajal1 img {
        width: 56%;
    }

    .CajaGenImput2 {
        width: 100%;
        height: 169px;
        align-content: end;
    }

    .Cajfp {
        gap: 0;
    }

    .tbInfantil.table > tbody > tr > td, .tbTardio.table > tbody > tr > td {
        display: flex;
    }
    .voucher-container{
        flex-direction: column;
    }

}
@media only screen and (min-width:810px) and (max-width:1000px){
    .Cajacheck {
        height: 43vh;
    }
}

@media only screen and (min-width:320px) and (max-width:810px){

    .CajainGen {
        flex-direction: column;
    }

    .CajaGenImput {
        width: 100%;
    }

    .Cajain {
        display: flex;
        flex-direction: column;
    }

    .Cajain label {
        width: 100%;
    }

    .form-C {
        height: 61px;
    }

    .Cajad1h3 label {
        width: 100%;
    }

    .Cajad1h3 {
        flex-direction: column;
    }

    .form-control {
        font-size: 18px;
    }

    .Cajad2 {
        flex-direction: column;
    }

    .Cajad1h4 {
        height: 100%;
        width: 100%;
    }

    header {
        padding: 15px;
        flex-direction: column;
        height: 138px;
    }

    .headerh1 {
        width: 100%;
        justify-content: center;
        padding-right: 0;
    }

    .headerh1 img{
        width: 50%;
    }

    .headerh2 {
        width: 100%;
        text-align: center;
        border-right: none;
        border-left: none;
    }

    h1 {
        font-size: 18px;
    }

    .headerh3 {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding-left: 0;
    }

    .headerh3 h2 {
        font-size: 18px;
    }

    .Cajageneral {
        padding: 15px;
    }

    h2 {
        font-size: 18px;
    }

    .CajaGenImput {
        flex-direction: column;
    }

    .Cajaimput {
        width: 100%;
    }

    .Cajacheck {
        padding: 8px;
        height: 30vh;
    }

    footer {
        padding: 15px;
    }

    .Cajafoh1 {
        flex-direction: column;
        display: flex;
        height: 223px;
    }

    .Cajal1 {
        width: 100%;
    }

    .Cajal1 img {
        width: 56%;
    }

    .CajaGenImput2 {
        width: 100%;
        height: 169px;
        align-content: end;
    }

    .Cajfp {
        gap: 0;
    }

    .tbInfantil.table > tbody > tr > td, .tbTardio.table > tbody > tr > td {
        display: flex;
    }
    .voucher-container {
        flex-direction: column;
    }
}

@media only screen and (min-width:320px) and (max-width:489px){
    .Cajacheck {
        padding: 8px;
        height: 57vh;
    }
}
@media only screen and (min-width:489px) and (max-width:767PX){
    .Cajacheck {
        padding: 8px;
        height: 36vh;
    }
}


.voucher-alert-container {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    padding: 15px;
    margin: 10px 0;
    max-width: 400px;
}

.voucher-alert-icon {
    margin-right: 15px;
    width: 100px;
    height: 75px;
    stroke: #662681;
}

.voucher-alert-text {
    font-size: 20px;
    color: #202020e3;
    text-align: center;
}

.validation-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-color: #65267f14;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #65267F;
    height: 100vh;
}

.voucher-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
    margin: 15px 0;
    text-align: center;
}

.voucher-input-wrapper {
    flex-grow: 1;
    max-width: 400px;
}

.voucher-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.voucher-input:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* signature tratado como input */
.ui-inputfield.firma-control,
.ui-inputfield.kbw-signature {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
    border-radius: 5px;
    box-sizing: border-box;
}

/* estados que mete PrimeFaces */
.ui-inputfield.ui-state-default.firma-control,
.ui-inputfield.ui-state-focus.firma-control,
.ui-inputfield.ui-state-hover.firma-control {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 5px !important;
    box-sizing: border-box;
}

/* canvas interno */
.kbw-signature canvas {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 5px;
    box-sizing: border-box;
}

/* evitar borde por focus */
.kbw-signature,
.kbw-signature:focus {
    outline: none !important;
    border-radius: 5px;
    box-sizing: border-box;
}

/* bajar un poco el campo Teléfono de contacto */
.CajaGenImput:first-child .Cajaimput:last-child {
    margin-top: 28px; /* ajusta: 10px, 20px si necesitas */
}

/* layout base */
.tabla-gen {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
}

/* oculta encabezado automático */
.tabla thead,
.tabla.table thead,
.tabla.dataTable thead {
    display: none !important;
}

.tabla thead {
    display: none !important;
    visibility: hidden;
    height: 0;
}

/* alineación interna */
.cajaSelect,
.cajaPruebas {
    display: flex;
    flex-direction: column;
}

.cajaP {
    margin-bottom: 10px;
}

/* tablets y móviles */
@media (max-width: 810px) {
    .tabla-gen {
        flex-direction: column;
        gap: 15px;
    }

    .cajaSelect,
    .cajaPruebas {
        width: 100%;
    }

    .cajaPruebas {
        height: auto;
    }

    .cajaSelect1 {
        padding: 10px;
    }
}

/* móviles pequeños */
@media (max-width: 576px) {
    .Cajainfo {
        padding: 12px;
    }

    .Cajainfo h2 {
        font-size: 18px;
    }

    .tabla tbody td {
        display: block;
        width: 100%;
    }
}





