@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
:root{
	--azul-dark: #00345F;
	--azul1: #009BDD;
	--azul2: #027BE4;
	--deg1: #027BE4;
	--deg2: #06BFE2;
	--morado: #660EFF;
	--rosa: #DA0080;
	--azul-light: #E6F0FA;
	--gris: #E1E1E1;
    --rojo: #B4240E;
    --green: #009639;
}
body{
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	line-height: 1.2;
}
h1{
	font-size: 25pt;
    color: var(--azul-dark);
    margin: 0;
    font-weight: 900;
}
h4{
	color: var(--azul2);
    font-size: 12pt;
    margin: 5px 0 10px;
}
p{
	font-size: 14pt;
    margin-top: 0;
}
button, .btn{
    font-size: 14pt;
    padding: 7px;
    border: none;
    background: var(--rosa);
    color: #fff;
    border-radius: 5px;
    width: 250px;
    border: 1px solid var(--rosa);
    cursor: pointer;
    margin: auto;
}
.section{
	padding: 40px;
}
.grid2{
	display: grid;
    grid-template-columns: 48% 48%;
    justify-content: space-between;
    align-items: center;
    justify-items: center;
}
.grid2 .widthAll{
	width: 100%;
}
.formulario{
	padding: 20px;
    box-shadow: 0px 0px 15px -7px #000;
    border-radius: 5px;
    text-align: center;
}
.formulario p{
	margin: 15px 0 0;
    font-size: 11pt;
}
.formulario input[type="text"], .formulario select{
	width: -webkit-fill-available;
    font-size: 13pt;
    padding: 5px;
    border: 1px solid var(--azul2);
    border-radius: 5px;
    margin-top: 15px;
}
.formulario button{
	width: 100%;
}
.terminos{
	display: flex;
    grid-gap: 10px;
    align-items: center;
    margin: 20px 0;
}
.terminos p{
	margin: 0;
	font-size: 9pt;
	text-align: left;
}
.grid3{
	display: grid;
    grid-template-columns: 30% 30% 30%;
    justify-content: space-between;
    justify-items: center;
    align-items: start;
    grid-gap: 25px 0px;
}
.grid3 p{
	font-size: 10pt;
}
.div-center{
	display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}
.contrata{
	text-align: center;
	margin: 25px 40px;
}
.contrata h1{
	color: var(--azul1);
}
.fin-card{
	height: 100px;
}

.contrata-sec{
    display: grid;
    grid-template-columns: 20% 55% 20%;
    justify-content: space-between;
    align-items: start;
    width: 80%;
    margin: auto;
}
.tarjeta-sec{
    grid-template-columns: 25% 50% 20%;
    width: 90%;
}

.contrata-sec input, .contrata-sec select{
    padding: 5px;
    font-size: 12pt;
    border: 1px solid var(--azul1);
    border-radius: 5px;
    width: -webkit-fill-available;
}
.contrata-sec .grid2{
    grid-gap: 15px;
    align-items: end;
}
.contrata-sec .grid2>div, .contrata-sec .grid3>div{
    width: 100%;
}
.terminos{
    display: flex;
    grid-gap: 10px;
    font-size: 9pt;
    font-weight: 700;
    justify-content: center;
}
.candado{
    width: 15px;
    height: 15px;
    background: url(../img/datos-protegidos.svg);
    background-repeat: no-repeat;
    background-position: center;
}
.pleca-contrata{
    width: 90%;
    margin: auto;
    text-align: center;
    background: var(--azul-light);
    padding: 15px;
    border: 1px solid var(--azul1);
    border-radius: 12px;
}
.pleca-contrata label, .pleca-contrata p{
    font-size: 10pt;
}
.pleca-contrata h4{
    font-size: 20pt;
    margin: 0;
}
.contrata-sec .btn{
    width: 200px!important;
}
.contrata-sec .btn-morado{
    width: 120px!important;
}
#notarjeta{
    margin: 15px 0;
    width: -webkit-fill-available;
}
.placeholder::placeholder{
    color: var(--rosa);
}

.horizontal-selects {
    display: flex;
    gap: 10px; /* Espacio entre los select */
}

.horizontal-input {
    margin-top: 15px;
    /* display: flex; */
    gap: 10px;
}

.div-clabe {
    margin-top: 15px;
}

.horizontal-input input {
    flex: 1;
    max-width: 30.6%;
}

.select-banco {
    margin-top: 18px;
}

.d-none{
    display: none;
}


@media (max-width: 820px){
	.desk{
		display: none;
	}
    h1{
        font-size: 18pt;
    }
	h1, p{
		text-align: center;
	}
	.section {
	    padding: 20px;
	}
	.formulario {
	    padding: 0px;
	    box-shadow: none;
	}
	.grid2, .grid3{
	    grid-template-columns: 100%;
	    grid-gap: 20px;
	}
    .contrata {
        margin: 0;
        padding: 25px;
    }
    .contrata-sec {
        grid-template-columns: 100%;
        width: 95%;
        grid-gap: 20px 0;
    }
    .pleca-contrata{
        display: flex;
        grid-gap: 7px;
        align-items: center;
        position: fixed;
        bottom: 2%;
        width: 87%;
        margin: auto;
    }
    form{
        margin-bottom: 160px;
    }
    .contrata-sec .btn {
        width: 90%!important;
    }
    .btns-contrata{
        display: grid;
        grid-template-columns: 20% 70%;
        justify-items: center;
        justify-content: space-between;
    }
    .btns-contrata .movil{
        border-radius: 100%;
        width: 32px!important;
        height: 32px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--azul2);
        border: 1px solid var(--azul2);
        color: #fff;
        font-weight: 900;
    }
    .horizontal-selects {
        flex-direction: column;
    }
    .horizontal-selects select {
        width: 100%;
    }
    .horizontal-input {
        flex-direction: column;
        margin-top: 0px !important;
        gap: 10px;
    }
    .horizontal-input input {
        width: 100%;
        max-width: 97%;
    }
    .inputAP{
        margin-top: 0px !important;
    }
    .inputAM{
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }
}

@media (min-width: 1920px) { /* Media query para pantallas grandes */

    .horizontal-input {
        margin-top: 15px;
        /* display: flex; */
        gap: 10px;
    }

    .horizontal-input input {
        flex: 1;
        max-width: 31.3%;
    }
    .select-banco {
        margin-top: 0px;
    }
}


.error {
    border: 2px solid var(--rojo) !important; /* Ancho del borde aumentado */
}

.error::placeholder {
    color: var(--rojo) !important; /* Cambio de color del texto del placeholder */
}

option.error {
    color: var(--rojo) !important; /* Color rojo para el texto */
}

.success {
    border: 2px solid var(--green) !important; /* Ancho del borde aumentado */
}

.success::placeholder {
    color: var(--green) !important; /* Cambio de color del texto del placeholder */
}

.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 78px;
    height: 78px;
    border: 6px solid #1c99d5;
    background: #19375e;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-bottom-color: #f49d3a;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.botoncla {
	display: none;
}

.mt-3 {
    margin-top: 15px;
}

.swal-title-custom {
    font-size: 23px; /* Ajusta el tamaño según sea necesario */
    color: #000;
}

.swal-text-custom {
    font-size: 18px; /* Ajusta el tamaño según sea necesario */
    color: #000;
}

.swal-confirm-button {
    background-color: #027BE4; /* Cambia el color de fondo */
    border-color: #027BE4;
    color: #fff; /* Cambia el color del texto */
    border: none; /* Elimina el borde si es necesario */
}