body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100vh;
    display: flex;
}

/* CONTENEDOR GENERAL */
.container {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* PANEL IZQUIERDO */
.left-panel {
    flex: 2;
    background: #0b1936;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* TÍTULO CONSULTING */
.left-panel h1 {
    font-size: 50px;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

/* SUBTÍTULO BI */
.left-panel span {
    font-size: 28px;
    font-weight: normal;
    margin-top: -5px;
}

/* PANEL DERECHO */
.right-panel {
    flex: 1;
    background: #f4f4f4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* CONTENEDOR DE LOS INPUTS */
.input-group {
    width: 80%;          /* ANCHO REAL */
    box-sizing: border-box;
    margin-bottom: 20px;
}

.input-group label {
    font-size: 16px;
    font-weight: bold;
}

/* CAJAS DE TEXTO */
.input-group input {
    width: 100%;         /* COINCIDE EXACTO CON .input-group */
    padding: 12px;
    margin-top: 5px;
    border-radius: 6px;
    border: 1px solid #aaa;
    font-size: 16px;
    box-sizing: border-box;   /* ← CLAVE ABSOLUTA */
}

/* PLACEHOLDER EN GRIS */
input::placeholder {
    color: #888;
}

/* TEXTO "¿OLVIDASTE TU CONTRASEÑA?" */
.forgot {
    color: blue;
    cursor: pointer;
    margin-top: -5px;
    margin-bottom: 8px;
    text-decoration: underline;
    width: 80%;
    text-align: left;
    padding-left: 0;
    box-sizing: border-box; 
}

/* BOTÓN INICIAR SESIÓN */
.btn-login {
    width: 80%;
    padding: 12px;
    margin-top: 10px;
    background: #0b1936;
    color: white;
    border: 1px solid #aaa;   /* igual que input */
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    box-sizing: border-box;
}

.btn-login:hover {
    opacity: 0.9;
}

/* MODAL CENTRADO */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

/* VENTANA EMERGENTE */
.modal-content {
    background: white;
    padding: 50px;
    padding-left: 40px;
    padding-right: 40px;
    width: 550px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    box-sizing: border-box;
    text-align: center;
}

/* INPUTS DEL MODAL */
.modal-content input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #aaa;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

/* BOTÓN RECUPERAR */
.btn-recover {
    width: 100%;
    padding: 12px;
    background: #0b1936;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    box-sizing: border-box;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-top: 5px;
}

/* Cuadrito estilo checkbox personalizado */
.toggle-box {
    width: 22px;
    height: 22px;
    border: 2px solid #1a73e8;   /* Marco azul */
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}

/* Cuando está activo (se pintará en azul) */
.toggle-box.active {
    background-color: #1a73e8;
    border-color: #1a73e8;
}
/* Contenedor del input de contraseña */
.password-group {
    position: relative;
    margin-bottom: 10px;
}

/* Contenedor del cuadro + texto */
.toggle-container {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: absolute;
    bottom: -20px;     
    right: 0;
}

/* Cuadrito pequeño */
.toggle-box {
    width: 14px;
    height: 14px;
    border: 2px solid #1a73e8;
    border-radius: 3px;
    transition: 0.20s;
}

/* Activado (azul relleno) */
.toggle-box.active {
    background-color: #1a73e8;
    border-color: #1a73e8;
}

/* Texto pequeño y elegante */
.toggle-text {
    font-size: 12px;
    color: #333;
}
.valid-ok {
    color: #0da80d;
    font-weight: bold;
}

.valid-bad {
    color: #888;
}
#modalCodigo .modal-content {
    width: 480px !important;
    padding: 40px 40px 50px !important;
}
#modalCodigo input {
    width: 100% !important;
    height: 44px;
    font-size: 15px;
    padding: 10px 12px;
    box-sizing: border-box;
    margin-bottom: 16px; /* espacio entre inputs */
}
#modalCodigo .password-group {
    position: relative;
}

#modalCodigo .toggle-container {
    position: relative;
    display: flex;
    justify-content: flex-end; /* LO PONE A LA DERECHA */
    align-items: center;
    margin-top: -34px; 
    margin-bottom: 20px;
}


#modalCodigo .toggle-text {
    margin-left: 6px;
    font-size: 13px;
}
#validacionModal {
    margin-top: 10px;
    margin-bottom: 20px;
}

#validacionModal span {
    display: block;
    margin: 3px 0;
}
