/* ==========================================================================
   Base y Fondos (Adaptado a Calier)
   ========================================================================== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #FFF !important; /* Fondo gris muy claro */
    color: #374151; /* Texto gris oscuro */
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

/* Quitamos las imágenes de fondo anteriores para un look más corporativo */
.bg-home, .bg-brief, .bg-ty {
    background: #F8FAFC !important;
}

/* ==========================================================================
   Tipografía y Utilidades
   ========================================================================== */
.s20 { font-size: 20px; color: #111827; }
.s14 { font-size: 14px; }
.s13 { font-size: 13px; }
.disNo { display: none; }
.w-32 { width: 32% !important; }
.t-none { text-decoration: none; }

/* Color de acento principal de Calier (Azul) */
.text-pink { color: #185FA5 !important; } /* Mantenemos la clase pero cambiamos el color */

.bod-home { min-height: 600px; }

/* ==========================================================================
   Logos
   ========================================================================== */
.img-logo { height: auto; width: 50%; transition: all 0.3s ease; }
.card:hover > .text-center .img-logo { transform: scale(1.2); }
.img-fluid-logo-1 { height: auto; width: 30%; position: relative; float: right; }
.img-fluid-logo-2 { height: auto; width: 30%; position: relative; float: left; }

/* ==========================================================================
   Formularios y Controles (Estilo claro corporativo)
   ========================================================================== */
.form-control {
    background: #FFFFFF !important; 
    color: #374151 !important;
    border: 1px solid #D1D5DB !important;
    border-radius: 0.4rem;
    margin-top: 5px;
    font-size: 13px;
    padding: 8px 12px;
}

.form-control:focus {
    color: #111827 !important;
    background-color: #fff !important;
    border-color: #185FA5 !important;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(24, 95, 165, 0.25) !important;
}

.form-control::-webkit-input-placeholder { color: #9CA3AF; }
.form-control::-moz-placeholder { color: #9CA3AF; }
.form-control:-ms-input-placeholder { color: #9CA3AF; }
.form-control:-moz-placeholder { color: #9CA3AF; }

option { background: #FFFFFF; color: #374151; }

.bor-danger { border: 2px solid #E08714 !important; } /* Naranja/Rojo de error */

/* ==========================================================================
   Botones
   ========================================================================== */
.btn-prev, .btn-next, .btn-morado, .btn-morado-free {
    background: #185FA5 !important; /* Azul Calier */
    text-align: center;
    border-radius: .35rem;
    font-weight: 500;
    font-size: 14px !important;
    color: #FFF !important;
    border: 1px solid #185FA5 !important;
    transition: all 0.3s ease;
    margin: 15px auto 0 auto;
    padding: 8px 24px;
}

.btn-prev:hover, .btn-prev:focus, .btn-next:hover, .btn-next:focus, .btn-morado:hover, .btn-morado:focus, .btn-morado-free:hover, .btn-morado-free:focus {
    color: #FFF !important;
    background-color: #0C447C !important; /* Azul más oscuro al hover */
    border-color: #0C447C !important;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(24, 95, 165, 0.25) !important;
}

.btn-outline-secondary {
    background: transparent !important;
    color: #4B5563 !important;
    border: 1px solid #D1D5DB !important;
    font-weight: 500;
}
.btn-outline-secondary:hover {
    background: #F3F4F6 !important;
}

/* ==========================================================================
   Tarjetas
   ========================================================================== */
.card {
    background-color: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 8px !important;
}

/* ==========================================================================
   Loader
   ========================================================================== */
#pre-loader{opacity:1; display:none; z-index:9999999999; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(255,255,255,0.8);}
#pre-loader span{display:table-cell; vertical-align:middle; text-align:center;}
#pre-loader span img{display:inline-block;}

/* ==========================================================================
   Animaciones
   ========================================================================== */
@keyframes shakeX{from,to{transform: translate3d(0, 0, 0);}10%,30%,50%,70%,90%{transform: translate3d(-10px, 0, 0);}20%,40%,60%,80%{transform: translate3d(10px, 0, 0);}}
.shakeX{animation: shakeX 2s;}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 768px){
	.w-32{width: 100%!important;}
	.s20{font-size: 18px}
	.img-fluid-logo-1{width: 82%;}
	.img-fluid-logo-2{width: 70%;}
}