/* ============================================================
   cssValidaTokenLogin.css
   Estilos exclusivos del panel de verificación de token (login).
   Cargar este archivo en el template principal, NO dentro del
   contenido AJAX — jQuery filtra los <style> inline pero respeta
   los archivos CSS enlazados en el <head>.
============================================================ */

/* ── Variables del design system ── */
:root {
	--vtl-font:     "Inter", sans-serif;
	--vtl-text-01:  #171618;
	--vtl-text-02:  #454546;
	--vtl-text-03:  #969696;
	--vtl-ui-01:    #171618;
}

/* ── Cancela float:right que cssWindow.css aplica a todos los div ── */
#vtl-token-panel,
#vtl-token-panel div,
#vtl-token-panel p,
#vtl-token-panel form,
#vtl-token-panel button,
#vtl-token-panel input,
#vtl-token-panel span,
#vtl-token-panel a {
	float: none !important;
}


/* ── Panel lateral derecho (flotante) ── */
#vtl-token-panel {
	position: fixed !important;
	top: 20px !important;
	right: 20px !important;
	bottom: 20px !important;
	width: 520px !important;
	height: 728px !important;
	max-height: calc(100vh - 40px) !important;
	background: #ffffff !important;
	display: flex !important;
	flex-direction: column !important;
	border-radius: 16px !important;
	box-shadow: 0 8px 48px rgba(0, 0, 0, 0.28) !important;
	z-index: 1000 !important;
	font-family: var(--vtl-font) !important;
	overflow-y: auto !important;
	text-align: left !important;
}

/* ── Navegación superior ── */
#vtl-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 24px 0 24px;
	flex-shrink: 0;
}

.vtl-btn-nav {
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	border-radius: 8px;
	transition: background 0.15s ease;
}
.vtl-btn-nav:hover { background: #f3f3f3; }
.vtl-btn-nav svg {
	width: 22px;
	height: 22px;
	stroke: var(--vtl-text-01);
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ── Contenido ── */
#vtl-content {
	flex: 1 !important;
	padding: 24px 24px 0 24px !important;
	display: flex !important;
	flex-direction: column !important;
	text-align: left !important;
	align-items: flex-start !important;
}

/* ── Título ── */
#vtl-title {
	color: var(--vtl-text-01);
	font-family: var(--vtl-font);
	font-size: 24px;
	font-weight: 700;
	line-height: 125%;
	letter-spacing: -0.2px;
	margin-bottom: 90px;
}

/* ── Sección challenge ── */
#vtl-challenge-section { margin-bottom: 60px; }

#vtl-challenge-label {
	color: var(--vtl-text-03);
	font-family: var(--vtl-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 125%;
	letter-spacing: 0.5px;
	margin-bottom: 16px;
}

#vtl-challenge-number {
	color: var(--vtl-text-01) !important;
	font-family: var(--vtl-font) !important;
	font-size: 48px !important;
	font-weight: 500 !important;
	line-height: 125% !important;
	font-variant-numeric: tabular-nums !important;
	white-space: nowrap !important;
	letter-spacing: 4px !important;
	text-align: left !important;
	width: 100% !important;
}

/* ── Sección inputs de 8 dígitos ── */
#vtl-input-section { margin-bottom: 60px; }

#vtl-input-label {
	color: var(--vtl-text-03);
	font-family: var(--vtl-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 125%;
	letter-spacing: 0.5px;
	margin-bottom: 14px;
}

#vtl-digits-row {
	display: flex !important;
	gap: 8px !important;
	align-items: flex-end !important;
	justify-content: flex-start !important;
	width: 100% !important;
}

.vtl-digit {
	width: 36px;
	height: 40px;
	border: none;
	border-bottom: 1.5px solid #d0d0d0;
	text-align: center;
	font-family: var(--vtl-font);
	font-size: 18px;
	font-weight: 500;
	color: var(--vtl-text-01);
	background: transparent;
	outline: none;
	transition: border-color 0.2s ease;
	caret-color: var(--vtl-text-01);
	padding-bottom: 4px;
}
.vtl-digit:focus,
.vtl-digit.vtl-filled { border-bottom-color: var(--vtl-text-01); }

/* ── Input simple (tipo 5) ── */
#vtl-simple-input {
	width: 100%;
	max-width: 240px;
	height: 40px;
	border: none;
	border-bottom: 1.5px solid #d0d0d0;
	font-family: var(--vtl-font);
	font-size: 18px;
	color: var(--vtl-text-01);
	background: transparent;
	outline: none;
	transition: border-color 0.2s ease;
	letter-spacing: 6px;
}
#vtl-simple-input:focus { border-bottom-color: var(--vtl-text-01); }

/* ── Meta: expiración + gestionar token ── */
#vtl-meta {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 16px;
}

.vtl-expiry-text {
	color: var(--vtl-text-03);
	font-family: var(--vtl-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 125%;
	letter-spacing: 0.5px;
}
.vtl-expiry-text .vtl-timer {
	color: var(--vtl-text-01);
	font-weight: 700;
}

.vtl-manage-text {
	color: var(--vtl-text-03);
	font-family: var(--vtl-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 125%;
	letter-spacing: 0.5px;
}

.vtl-manage-link {
	color: var(--vtl-ui-01);
	font-family: "TT Interfaces", var(--vtl-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 125%;
	letter-spacing: 0.5px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.vtl-manage-link:hover { text-decoration: underline; }
.vtl-manage-link svg {
	width: 13px;
	height: 13px;
	stroke: var(--vtl-ui-01);
	fill: none;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ── Aviso de seguridad ── */
#vtl-security {
	background: #f5f5f5;
	border-radius: 8px;
	padding: 14px 16px;
}
#vtl-security p {
	color: var(--vtl-text-02);
	font-family: var(--vtl-font);
	font-size: 10px;
	font-weight: 400;
	line-height: 125%;
	letter-spacing: 0.5px;
}

/* ── Footer ── */
#vtl-footer {
	padding: 28px 24px 40px 24px;
						  
									
	text-align: center !important;
	flex-shrink: 0;
						
}

/* ── Botón Continuar — 180px × 40px ── */
#vtl-btn-continuar {
	display: inline-block !important;
	width: 180px;
	height: 40px;
	line-height: 40px;
	padding: 0 32px;
								
								  
						   
		  
				 
	background: #d4d4d4;
	color: #999999;
	border: none;
	border-radius: 8px;
	font-family: var(--vtl-font);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.5px;
	cursor: not-allowed;
	transition: background 0.2s ease, color 0.2s ease;
	vertical-align: middle;
}
#vtl-btn-continuar.vtl-active {
	background: #171618;
	color: #ffffff;
	cursor: pointer;
}
#vtl-btn-continuar.vtl-active:hover { background: #2e2c30; }

#vtl-btn-desbloquear {
    display: inline-block !important;
    width: 180px;
    height: 40px;
    line-height: 40px;
    padding: 0 32px;





    background: #d4d4d4;
    color: #999999;
    border: none;
    border-radius: 8px;
    font-family: var(--vtl-font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: not-allowed;
    transition: background 0.2s ease, color 0.2s ease;
    vertical-align: middle;
}
#vtl-btn-desbloquear.vtl-active {
    background: #171618;
    color: #ffffff;
    cursor: pointer;
}
#vtl-btn-desbloquear.vtl-active:hover { background: #2e2c30; }

/* ── Responsive ── */
@media (max-width: 600px) {
	#vtl-token-panel {
		top: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100vh;
		max-height: 100vh;
		border-radius: 0;
	}
	#vtl-challenge-number {
		font-size: 36px;
		letter-spacing: 6px;
	}
}


/* ============================================================
   PANTALLA PREGUNTAS DE SEGURIDAD
============================================================ */

.token-security-content {
    padding-top: 8px;
}

.token-security-title {
    margin-bottom: 14px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 125%;
    letter-spacing: 0;
}

.token-security-description {
    color: var(--text-02);
    font-family: var(--Font);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    margin-bottom: 28px;
    max-width: 420px;
}

.token-security-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 120px;
}

.token-question-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.token-question-label {
    color: var(--text-03);
    font-family: var(--Font);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

.token-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.token-question-input {
    width: 100%;
    height: 40px !important;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    background: #fff;
    padding: 0 300px 0 10px;
    box-sizing: border-box;
    font-family: var(--Font);
    font-size: 14px;
    color: var(--text-01);
    outline: none;
}

.token-question-input:focus {
    border-color: var(--text-01);
}

.token-input-eye {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.token-input-eye svg {
    width: 16px;
    height: 16px;
    stroke: #4f4f4f;
    fill: none;
    stroke-width: 1.8;
}

.token-security-meta {
    margin-top: auto;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.token-security-meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.token-security-meta-label {
    color: #a3a3a3;
    font-family: var(--Font);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

.token-security-meta-value {
    color: var(--text-01);
    font-family: var(--Font);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.token-security-footer {
    padding: 0 24px 32px 24px !important;
}

.token-security-btn {
    width: 140px;
    height: 36px;
    border: none;
    border-radius: 4px;
    background: #171618;
    color: #fff;
    font-family: var(--Font);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.token-security-btn:hover {
    background: #2b2a2d;
}

#vtl-title-reduce {
    color: var(--text-01);
    font-family: var(--Font);
    font-size: 24px;
    font-weight: 700;
    line-height: 125%;
    letter-spacing: -0.2px;
    margin-bottom: 30px;
}

.token-option-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 120px;
    width: 90%;
}

.token-option {
    display: block;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    padding: 16px 18px;
    box-sizing: border-box;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, opacity .2s ease;
}

.token-option:hover {
    border-color: #999;
}

.token-option__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.token-option__control {
    flex: 0 0 22px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2px;
    box-sizing: border-box;
}

.token-option__radio {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    width: 14px;
    height: 14px;
    margin: 0;
    border: 1.5px solid #8f8f8f;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
    flex-shrink: 0;
}


.token-option__radio:checked {
    border-color: #111;
}

.token-option__radio:checked::after {
    content: "";
    width: 6px;
    height: 6px;
    background: #111;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.token-option__radio:disabled {
    border-color: #cfcfcf;
    background: #f4f4f4;
    cursor: not-allowed;
}

.token-option__radio:disabled:checked::after {
    background: #9b9b9b;
}

.token-option__content {
    flex: 1;
    min-width: 0;
}

.token-option__title {
    color: var(--text-01);
    font-family: var(--Font);
    font-size: 14px;
    font-weight: 700;
    line-height: 125%;
    letter-spacing: -0.2px;
    margin-bottom: 5px;
}

.token-option__text {
    color: var(--text-03);
    font-family: var(--Font);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

.token-option--disabled {
    opacity: 0.65;
}

.token-hidden-action {
    display: none;
}

.token-message-box {
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    background: #fafafa;
    padding: 12px 14px;
    font-size: 11px;
    color: #666;
    line-height: 1.45;
}

.token-message-box strong {
    color: #222;
}

.token-reenviar-wrap {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.token-option input[disabled] {
    cursor: not-allowed;
}

.token-bloqueado-text{
    color: var(--text-01, #171618);

    /* 🖥️  Text Web/Display/Display M - Regular */
    font-family: var(--vtl-font);
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%; /* 50px */
}

.token.bloqueado-text-b{
    color: var(--text-03, #969697);

    /* 🖥️  Text Web/Title/Title S - Regular */
    font-family: var(--vtl-font);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%; /* 22.5px */
}

.qr-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 32px;
    align-self: stretch;
}

.qr{
    width: 160px;
    height: 160px;
    aspect-ratio: 1/1;
}

.qr-text-a {
    color: var(--text-03, #969697);
    /* 🖥️  Text Web/Display/Display M - Regular */
    font-family: var(--vtl-font);
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%; /* 50px */
}

.qr-text-b {
    color: var(--text-01, #171618);
    /* 🖥️  Text Web/Display/Display M - Regular */
    font-family: var(--vtl-font);
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%;
}

.correo-content{
    display: flex;
    padding-top: 200px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 50px;
    flex: 1 0 0;
    align-self: stretch;
}

.correo-enlace-text{
    align-self: stretch;
    color: var(--text-01, #171618);

    /* 🖥️  Text Web/Display/Display M - Regular */
    font-family: var(--vtl-font);
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%; /* 50px */
}

.correo-enlace-text-b{
    align-self: stretch;
    color: var(--text-03, #969697);

    /* 🖥️  Text Web/Title/Title S - Regular */
    font-family: var(--vtl-font);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%; /* 22.5px */
}

.correo-question{
    color: var(--text-03, #969696);
    text-align: center;
    /* Body/M/Regular */
    font-family: var(--Font, Inter);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%; /* 17.5px */
    letter-spacing: 0.5px;
}


