/* Estilos del fondo de la pagina */
:root {
	--color-azul-comfa: #00356a;
	--color-red-comfa: #ac000a;
	--color-verde-comfa: #003943;
	--color-gray-comfa: #2d2d2d;
	--white: #ffffff;
	--body-color: #fafafa;
	--sidebar-color: #00356a;
	--primary-color: #ffa900;
	--primary-color-light: #DDD;
	--text-color: #ffffff;
	--toggle-color: #DDD;
	--gray: #7e7e7e;
	--verde-claro: #b8c522;
	--verde-oscuro: #006b2c;
}

body {
    margin: 0;
    padding: 0;
    background: url(../../image/sedeNuevaComfacauca.jpg) center/cover no-repeat fixed;
    height: 100vh;
    overflow: hidden;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body::before {
    content: "";
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
}

h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #b8c522;
    margin-top: 100px;
}

/* Contenido de la página */


/* Estilos de la tarjeta */
.card-2 {
    width: 200px;
    height: 260px;
    background: #f6f6f6;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease-out;
    text-decoration: none;
    margin: 0 10px;
    /* Espacio entre las tarjetas */
    cursor: pointer;
}

.icono {
    z-index: 2;
    width: 70px;
    height: 70px;
}

/* Estilos de la card */
.wallet {
    --bg-color: #b8c522;
    --bg-color-light: #f0e7ff;
    --text-color-hover: #fff;
    --box-shadow-color: rgba(206, 178, 252, 0.48);
}

.card-2:hover {
    transform: translateY(-5px) scale(1.005) translateZ(0);
    box-shadow: 0 24px 36px rgba(0, 0, 0, 0.11),
        0 24px 46px var(--box-shadow-color);
}

.card-2:hover .overlay {
    transform: scale(4) translateZ(0);
}

.card-2:hover .circle {
    border-color: var(--bg-color-light);
    background: var(--bg-color);
}

.card-2:hover .circle:after {
    background: var(--bg-color-light);
}

.card-2:hover p {
    color: var(--text-color-hover);
}

.card-2 p {
    font-size: 20px;
    color: #4c5656;
    margin-top: 30px;
    z-index: 1000;
    transition: color 0.3s ease-out;
}

.circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease-out;
}

.circle:after {
    content: "";
    width: 118px;
    height: 118px;
    display: block;
    position: absolute;
    background: var(--bg-color);
    border-radius: 50%;
    top: 7px;
    left: 7px;
    transition: opacity 0.3s ease-out;
}

.circle svg {
    z-index: 10000;
    transform: translateZ(0);
}

.overlay {
    width: 100px;
    position: absolute;
    height: 90px;
    border-radius: 50%;
    background: var(--bg-color);
    top: 70px;
    left: 50px;
    z-index: 0;
    transition: transform 0.3s ease-out;
}

a {
    text-decoration: none;
}


/* start modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    margin: auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
}

.close {
    position: absolute;
    color: #aaa;
    top: 0;
    right: 0;
    font-size: 2rem !important;
    font-weight: bold;
    z-index: 9999;
    padding-right: 10px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


.arrow-left {
    position: absolute;
    color: #aaa;
    top: 0;
    left: 0;
    font-size: 2rem !important;
    font-weight: bold;
    z-index: 9999;
}

.arrow-left:hover,
.arrow-left:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* end modal */


.container-modal {
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    width: 700px;
    max-width: 100%;
    min-height: 480px;
}

.container-modal p {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.3px;
    margin: 20px 0;
}

.container-modal span {
    font-size: 12px;
    margin: 10px;
}

.container-modal a {
    color: #333;
    font-size: 13px;
    text-decoration: none;
    margin: 15px 0 10px;
}

.container-modal button {
    background-color: var(--color-azul-comfa);
    color: #fff;
    font-size: 12px;
    padding: 10px 45px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 10px;
    cursor: pointer;
}

.container-modal button.hidden {
    background-color: transparent;
    border-color: #fff;
}

.container-modal form {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    height: 100%;
}

.container-modal input, .container-modal select {
    background-color: #eee;
    border: none;
    margin: 8px 0;
    padding: 10px 15px;
    font-size: 13px;
    border-radius: 8px;
    width: 100%;
    outline: none;
}

.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.sign-in {
    left: 0;
    width: 50%;
    z-index: 2;
}

.container-modal.active .sign-in {
    transform: translateX(100%);
}

.sign-up {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

.container-modal.active .sign-up {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: move 0.6s;
}

@keyframes move {

    0%,
    49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%,
    100% {
        opacity: 1;
        z-index: 5;
    }
}

.social-icons {
    margin: 20px 0;
}

.social-icons a {
    border: 1px solid #ccc;
    border-radius: 20%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 3px;
    width: 40px;
    height: 40px;
}

.toggle-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: all 0.6s ease-in-out;
    border-radius: 150px 0 0 100px;
    z-index: 1000;
}

.container-modal.active .toggle-container {
    transform: translateX(-100%);
    border-radius: 0 150px 100px 0;
}

.toggle {
    background-color: var(--color-azul-comfa);
    height: 100%;
    /*background: linear-gradient(to right, #5c6bc0, var(--color-azul-comfa));*/
    color: #fff;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: all 0.6s ease-in-out;
}

.toggle-Codveri {
    background: linear-gradient(to right, #81b91b, #185b34) !important;
}

.container-modal.active .toggle {
    transform: translateX(50%);
}

.toggle-panel {
    position: absolute;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 30px;
    text-align: center;
    top: 0;
    transform: translateX(0);
    transition: all 0.6s ease-in-out;
}

.toggle-left {
    transform: translateX(-200%);
}

.container-modal.active .toggle-left {
    transform: translateX(0);
}

.toggle-right {
    right: 0;
    transform: translateX(0);
}

.container-modal.active .toggle-right {
    transform: translateX(200%);
}

.text-tipoUsuario {
    margin-top: -10px;
    color: darkgray;
}

/*@media (min-width: 576px) {
	#validar-codigo {
		max-width: 700px !important;
		margin: 1.75rem auto;
	}
}*/

/************INPUT CODVERI*******************/
.verification-code {
    display: flex;
    justify-content: space-between;
    gap: 4px;
}

.digitValCod {
    width: 50px;
    height: 50px;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-align: center !important;
    margin: 0 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none !important;
    padding: 0 !important;
}

/* Estilo para los campos de dígitos individuales cuando están llenos */
.digitValCod:not(:placeholder-shown) {
    border-color: #c2c2c2;
    background-color: #e6e6e6;
}

.digitRecCla:not(:placeholder-shown) {
    border-color: #c2c2c2;
    background-color: #e6e6e6;
}

.digitRegUsu:not(:placeholder-shown) {
    border-color: #c2c2c2;
    background-color: #e6e6e6;
}

/* Resaltar el primer dígito para enfatizar */
#digit1 {
    border: 2px solid #007bff;
}

/* Estilo para resaltar el campo actual cuando está enfocado */
.digitValCod:focus {
    border: 2px solid #007bff;
}

.bloqueo {
    position: fixed;
    top: 50;
    left: 0;
    width: 100%;
    height: 90%;
    z-index: 9999;
    cursor: not-allowed !important;
}

.bloqueado {
    opacity: 0.5;
    /* Opacidad reducida */
    pointer-events: none;
    /* Evita la interacción con el elemento */
    cursor: not-allowed !important;
    /* Cambia el cursor */
    outline: none !important;
}

.btn-bg-hover:hover{
    opacity: 0.8;
}

/***********LINK RECUPERAR CLAVE*******/
.enlace-recuperarclave {
    color: #007bff; /* Color inicial del enlace */
    text-decoration: none; /* Sin subrayado */
    transition: color 0.3s ease; /* Transición suave para el cambio de color */
}

.enlace-recuperarclave:hover {
    color: #0056b3; /* Color del enlace al pasar el ratón */
    text-decoration: underline; /* Subrayado al pasar el ratón */
}

.overlay-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* Fondo semitransparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Por encima de todo, incluso del modal */
  }


  /* Aplica a ambos botones: Afiliar empresa y Registro */
  #btnAfiliarEmpresa,
  #verFormregister,
  #btnIngresar {
    /*background-color: #1d4ed8;*/
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    padding: 12px 20px;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: none;
}
  
  #btnAfiliarEmpresa:hover,
  #verFormregister:hover,
  #btnIngresar:hover {
    /*background-color: #2563eb;*/
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

  #btnAfiliarEmpresa:hover {
    border: 2px solid #b8c522; /* Color verde claro */

  }

  #verFormregister:hover {
    border: 2px solid #b8c522; /* Color amarillo */
   
  }

  @media (max-width: 768px) {
    .center-text-login {
        justify-content: flex-start; /* Evita que el contenido se corte */
        padding-top: 2rem;
    }

    body {
        overflow-y: scroll;
    }
}

/****************************************/
.link-ayuda {
    display: inline-block;
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    opacity: 0.85;
}

.link-ayuda:hover {
    color: #ffcc00 !important; /* tono dorado elegante */
    border-bottom: 1px solid #ffcc00 !important;
    opacity: 1;
}

.modal-header-gris {
    background-color: #f8f9fa; /* fondo gris claro */
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 1.5rem;
  }
  
  .modal-header-gris .modal-title {
    font-weight: 600;
    color: #989191; /* tono gris sobrio */
    font-size: 1.1rem;
    letter-spacing: 0.3px;
  }
  
  .modal-header-gris .btn-close {
    filter: invert(50%) grayscale(100%); /* botón de cierre gris tenue */
    opacity: 0.7;
    transition: opacity 0.2s ease;
  }
  
  .modal-header-gris .btn-close:hover {
    opacity: 1;
  }

  .link-ayuda i {
    font-size: 0.95rem;
    color: #ffffffb3; /* blanco con transparencia, más suave */
    transition: color 0.3s ease;
    vertical-align: middle;
}

.link-ayuda:hover i {
    color: #ffcc00; /* mismo tono dorado que el hover del texto */
}