/* Wizard restablecer contraseña — UI/UX Popup2 */
#Popup2.rc-wizard-popup,
#Popup2.rc-wizard-popup .modal-content,
#Popup2.rc-wizard-popup .modal-header,
#Popup2.rc-wizard-popup .modal-body,
#Popup2.rc-wizard-popup .modal-footer,
#Popup2.rc-wizard-popup .modal-title,
#Popup2.rc-wizard-popup button,
#Popup2.rc-wizard-popup input,
#Popup2.rc-wizard-popup label,
#Popup2.rc-wizard-popup p,
#Popup2.rc-wizard-popup h3 {
	font-family: 'Montserrat', sans-serif;
}

#Popup2.rc-wizard-popup {
	--rc-accent: #138FCB;
	--rc-accent-hover: #0f70a3;
	--rc-accent-soft: #e8f4fb;
	--rc-accent-ring: rgba(19, 143, 203, 0.25);
	--rc-done: #138FCB;
	--rc-done-soft: #e8f4fb;
	--rc-line: #d8e0e6;
	--rc-line-done: #9fd0eb;
	--rc-text: #2f3a42;
	--rc-text-muted: #5f6b75;
	--rc-text-soft: #8a959e;
	--rc-surface: #f4f7f9;
	--rc-surface-elevated: #ffffff;
	--rc-border: #dde4ea;
	--rc-warning: #9a7b2e;
	--rc-warning-bg: #faf6eb;
	--rc-danger: #b85450;
	--rc-shadow-sm: 0 1px 3px rgba(35, 50, 62, 0.08);
	--rc-shadow-md: 0 8px 24px rgba(35, 50, 62, 0.1);
	--rc-radius: 10px;
	--rc-radius-lg: 14px;
}

#Popup2.rc-wizard-popup .modal-dialog {
	max-width: 800px;
	width: 800px;
	margin: 20px auto;
	min-height: min(560px, calc(100vh - 72px));
}

#Popup2.rc-wizard-popup .modal-content {
	border: none;
	border-radius: var(--rc-radius-lg);
	box-shadow: var(--rc-shadow-md);
	overflow: hidden;
}

#Popup2.rc-wizard-popup #PopupBody2.modal-body,
#Popup2.rc-wizard-popup .modal-body {
	padding: 16px 20px 12px;
	background: var(--rc-surface-elevated);
	max-height: calc(100vh - 88px) !important;
	overflow-y: auto;
}

#Popup2.rc-wizard-popup.popup-mfa-metodos .modal-dialog {
	min-height: min(640px, calc(100vh - 56px));
}

#Popup2.rc-wizard-popup.popup-mfa-metodos #PopupBody2.modal-body {
	max-height: calc(100vh - 72px) !important;
}

@media (max-width: 840px) {
	#Popup2.rc-wizard-popup .modal-dialog {
		width: calc(100% - 20px);
		max-width: 800px;
		margin: 12px auto;
	}

	#Popup2.rc-wizard-popup #PopupBody2.modal-body {
		padding: 14px 14px 10px;
	}
}

#Popup2.rc-wizard-popup #g-recaptcha2,
#Popup2.rc-wizard-popup #condicion_contraseña {
	display: none !important;
}

#Popup2.rc-wizard-popup .modal-footer .row {
	display: none;
}

#Popup2.rc-wizard-popup #Cabecera2.modal-header {
	background: linear-gradient(135deg, var(--rc-accent) 0%, var(--rc-accent-hover) 100%) !important;
	border-bottom: none;
	padding: 14px 20px;
}

#Popup2.rc-wizard-popup #Cabecera2 .modal-title {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0.01em;
}

/* Shell */
.rc-wizard-shell {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.rc-wizard-content {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
}

/* —— Indicador de progreso —— */
.rc-wizard-progress {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 12px 14px;
	background: var(--rc-surface);
	border: 1px solid var(--rc-border);
	border-radius: var(--rc-radius);
	box-shadow: var(--rc-shadow-sm);
}

.rc-wizard-progress__hint {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 8px;
	margin: 0;
	padding: 0;
	max-width: 100%;
	white-space: normal;
}

.rc-wizard-progress__hint-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--rc-text-soft);
}

.rc-wizard-progress__hint-sep {
	display: none;
}

.rc-wizard-progress__hint-name {
	font-size: 15px;
	font-weight: 700;
	color: var(--rc-accent);
	line-height: 1.2;
}

.rc-wizard-steps {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	margin: 0;
	padding: 4px 0 0;
	list-style: none;
	width: 100%;
	gap: 4px;
}

.rc-wizard-step {
	display: flex;
	flex: 1 1 0;
	min-width: 0;
	padding: 0;
	position: relative;
}

.rc-wizard-step__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	gap: 6px;
	position: relative;
	z-index: 1;
}

.rc-wizard-step:not(:last-child) .rc-wizard-step__inner::after {
	content: '';
	position: absolute;
	top: 15px;
	left: calc(50% + 18px);
	right: calc(-50% + 18px);
	height: 2px;
	background: var(--rc-line);
	border-radius: 1px;
	z-index: 0;
}

.rc-wizard-step--done:not(:last-child) .rc-wizard-step__inner::after {
	background: var(--rc-line-done);
}

.rc-wizard-step__circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 2px solid var(--rc-line);
	background: var(--rc-surface-elevated);
	flex-shrink: 0;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.rc-wizard-step__mark {
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: var(--rc-text-soft);
}

.rc-wizard-step__label {
	font-size: 10px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	color: var(--rc-text-soft);
	max-width: 72px;
	word-break: break-word;
}

.rc-wizard-step--pending .rc-wizard-step__circle {
	border-color: var(--rc-line);
	background: var(--rc-surface-elevated);
}

.rc-wizard-step--done .rc-wizard-step__circle {
	background: var(--rc-done-soft);
	border-color: var(--rc-done);
}

.rc-wizard-step--done .rc-wizard-step__mark {
	color: var(--rc-done);
	font-size: 13px;
}

.rc-wizard-step--done .rc-wizard-step__label {
	color: var(--rc-done);
}

.rc-wizard-step--active .rc-wizard-step__circle {
	background: var(--rc-accent-soft);
	border-color: var(--rc-accent);
	box-shadow: 0 0 0 4px var(--rc-accent-ring);
}

.rc-wizard-step--active .rc-wizard-step__mark {
	color: var(--rc-accent);
}

.rc-wizard-step--active .rc-wizard-step__label {
	color: var(--rc-accent);
	font-weight: 700;
}

@media (max-width: 520px) {
	.rc-wizard-step__label {
		font-size: 9px;
		max-width: 56px;
	}

	.rc-wizard-step__circle {
		width: 26px;
		height: 26px;
	}

	.rc-wizard-step:not(:last-child) .rc-wizard-step__inner::after {
		top: 13px;
		left: calc(50% + 15px);
		right: calc(-50% + 15px);
	}
}

/* —— Encabezado de paso —— */
.rc-wizard-step-head {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 12px 0;
	padding: 0;
}

.rc-wizard-step-head--compact {
	margin-bottom: 10px;
}

.rc-wizard-step-head__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 10px;
	background: var(--rc-accent-soft);
	color: var(--rc-accent);
	font-size: 18px;
}

.rc-wizard-step-head__title {
	margin: 0 0 2px;
	font-size: 16px;
	font-weight: 700;
	color: var(--rc-text);
	line-height: 1.25;
}

.rc-wizard-step-head__subtitle {
	margin: 0;
	font-size: 13px;
	color: var(--rc-text-muted);
	line-height: 1.35;
}

/* —— Paneles y textos —— */
.rc-wizard-panel {
	min-height: 0;
	padding: 0;
}

.rc-wizard-intro {
	font-size: 13px;
	line-height: 1.55;
	color: var(--rc-text);
	text-align: left;
	margin: 0 0 12px 0;
	padding: 10px 12px;
	background: var(--rc-surface);
	border: 1px solid var(--rc-border);
	border-radius: var(--rc-radius);
	border-left: 3px solid var(--rc-accent);
}

.rc-wizard-intro--alerta {
	border-left-color: var(--rc-warning);
	background: var(--rc-warning-bg);
	color: var(--rc-text);
}

.rc-wizard-field-card {
	margin: 0;
	padding: 12px 14px;
	background: var(--rc-surface-elevated);
	border: 1px solid var(--rc-border);
	border-radius: var(--rc-radius);
	box-shadow: var(--rc-shadow-sm);
}

.rc-wizard-field-card__label {
	display: block;
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--rc-text);
}

.rc-wizard-required {
	color: var(--rc-danger);
	font-weight: 700;
}

#Popup2.rc-wizard-popup .rc-wizard-input.form-control {
	height: 42px;
	font-size: 15px;
	border-radius: 8px;
	border-color: var(--rc-border);
	box-shadow: none;
}

#Popup2.rc-wizard-popup .rc-wizard-input.form-control:focus {
	border-color: var(--rc-accent);
	box-shadow: 0 0 0 3px var(--rc-accent-ring);
}

/* Documento paso 2 */
.rc-wizard-documento-gestion {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 12px 0;
	padding: 10px 12px;
	background: var(--rc-surface-elevated);
	border: 1px solid var(--rc-border);
	border-radius: var(--rc-radius);
	box-shadow: var(--rc-shadow-sm);
}

.rc-wizard-documento-gestion__icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: var(--rc-accent-soft);
	color: var(--rc-accent);
	font-size: 16px;
}

.rc-wizard-documento-gestion__body {
	flex: 1;
	min-width: 0;
}

.rc-wizard-documento-gestion__meta {
	margin: 0 0 4px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--rc-text);
}

.rc-wizard-documento-gestion__label {
	font-size: 12px;
	font-weight: 600;
	color: var(--rc-text-muted);
	margin-right: 6px;
}

.rc-wizard-documento-gestion__valor {
	font-size: 14px;
	font-weight: 700;
	color: var(--rc-text);
	word-break: break-all;
}

.rc-wizard-documento-gestion__hint {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--rc-text-muted);
}

/* Bloque verificación OTP */
.rc-wizard-verify-block {
	margin: 0 0 10px;
	padding: 14px 12px;
	background: var(--rc-surface);
	border: 1px solid var(--rc-border);
	border-radius: var(--rc-radius);
}

.rc-wizard-recaptcha-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin-top: 14px;
	padding: 4px 0 2px;
	text-align: center;
	overflow: hidden;
}

#Popup2.rc-wizard-popup .rc-wizard-recaptcha-wrap > div {
	display: inline-block;
	margin: 0 auto;
	max-width: 100%;
}

.rc-wizard-nota-spam {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12px;
	line-height: 1.45;
	color: var(--rc-text-muted);
	margin: 8px 0 0;
	padding: 8px 10px;
	background: var(--rc-surface);
	border-radius: 8px;
}

.rc-wizard-nota-spam .glyphicon {
	flex-shrink: 0;
	color: var(--rc-accent);
	margin-top: 1px;
}

/* OTP */
.rc-wizard-codigo-digitos {
	margin: 0;
	text-align: center;
}

.rc-wizard-codigo-digitos__label {
	display: block;
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--rc-text-muted);
}

.rc-wizard-codigo-digitos__inputs {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 8px;
}

#Popup2.rc-wizard-popup .rc-wizard-codigo-digitos__inputs .rc-wizard-codigo-digito {
	box-sizing: border-box;
	flex: 0 0 auto;
	width: 42px;
	min-width: 42px;
	max-width: 42px;
	height: 52px;
	padding: 0;
	margin: 0;
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	line-height: 52px;
	color: var(--rc-text);
	background: var(--rc-surface-elevated);
	border: 2px solid var(--rc-border);
	border-radius: 10px;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#Popup2.rc-wizard-popup .rc-wizard-codigo-digitos__inputs .rc-wizard-codigo-digito:focus {
	border-color: var(--rc-accent);
	box-shadow: 0 0 0 3px var(--rc-accent-ring);
	outline: none;
}

@media (max-width: 520px) {
	.rc-wizard-codigo-digitos__inputs {
		gap: 5px;
	}

	#Popup2.rc-wizard-popup .rc-wizard-codigo-digitos__inputs .rc-wizard-codigo-digito {
		width: 36px;
		min-width: 36px;
		max-width: 36px;
		height: 46px;
		font-size: 20px;
		line-height: 46px;
	}
}

/* Paso 3 — textos MFA */
#Popup2.rc-wizard-popup .rc-wizard-panel--paso3.mfa-google-auth,
#Popup2.rc-wizard-popup .rc-wizard-panel--paso3.rc-wizard-panel--codigo {
	text-align: left;
}

#Popup2.rc-wizard-popup .mfa-google-auth-texto {
	font-size: 13px;
	line-height: 1.5;
	color: var(--rc-text);
	margin: 0 0 10px;
}

#Popup2.rc-wizard-popup .mfa-google-auth-texto--aviso {
	padding: 8px 10px;
	background: var(--rc-warning-bg);
	border-radius: 8px;
	border-left: 3px solid var(--rc-warning);
}

#Popup2.rc-wizard-popup .mfa-google-auth-texto--alerta {
	padding: 8px 10px;
	background: #fdf0ef;
	border-radius: 8px;
	border-left: 3px solid var(--rc-danger);
	color: var(--rc-text);
}

#Popup2.rc-wizard-popup .mfa-google-auth-codigo-wrap {
	margin: 0;
}

#Popup2.rc-wizard-popup .mfa-google-auth-botonera {
	display: flex;
	justify-content: center;
	margin-top: 10px;
}

#Popup2.rc-wizard-popup .mfa-wa-btn-reenviar {
	border-radius: 8px;
	font-size: 13px;
}

#Popup2.rc-wizard-popup .rc-wizard-otp-intro-row {
	display: flex;
	align-items: center;
	margin-left: -10px;
	margin-right: -10px;
	margin-bottom: 12px;
}

#Popup2.rc-wizard-popup .rc-wizard-otp-intro-img,
#Popup2.rc-wizard-popup .rc-wizard-otp-intro-info {
	float: none;
}

#Popup2.rc-wizard-popup .rc-wizard-otp-intro-img {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-left: 10px;
	padding-right: 10px;
}

#Popup2.rc-wizard-popup .rc-wizard-otp-intro-info {
	padding-left: 10px;
	padding-right: 10px;
}

#Popup2.rc-wizard-popup .rc-wizard-otp-intro-info .rc-wizard-step-head--compact {
	margin-bottom: 8px;
}

#Popup2.rc-wizard-popup .rc-wizard-otp-intro-info .mfa-google-auth-texto {
	margin-bottom: 0;
}

#Popup2.rc-wizard-popup .rc-wizard-otp-intro-info .mfa-google-auth-texto + .mfa-google-auth-texto {
	margin-top: 8px;
}

#Popup2.rc-wizard-popup .mfa-metodo-card--resumen {
	width: 100%;
	max-width: 120px;
	margin: 0 auto;
	padding: 8px;
}

@media (max-width: 480px) {
	#Popup2.rc-wizard-popup .rc-wizard-otp-intro-row {
		flex-direction: column;
		align-items: stretch;
	}

	#Popup2.rc-wizard-popup .rc-wizard-otp-intro-img,
	#Popup2.rc-wizard-popup .rc-wizard-otp-intro-info {
		width: 100%;
	}

	#Popup2.rc-wizard-popup .rc-wizard-otp-intro-img {
		margin-bottom: 10px;
	}
}

/* —— Acciones —— */
.rc-wizard-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--rc-border);
}

.rc-wizard-actions__group {
	display: flex;
	align-items: center;
}

.rc-wizard-actions__group--primary {
	margin-left: auto;
}

.rc-wizard-actions .btn {
	min-height: 38px;
	padding: 8px 18px;
	font-size: 14px;
	font-weight: 600;
	border-radius: 8px;
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.rc-wizard-actions .btn-primary {
	background-color: var(--rc-accent) !important;
	border-color: var(--rc-accent-hover) !important;
	box-shadow: 0 2px 6px rgba(19, 143, 203, 0.25);
	min-width: 140px;
}

.rc-wizard-actions .btn-primary:hover:not(:disabled),
.rc-wizard-actions .btn-primary:focus:not(:disabled) {
	background-color: var(--rc-accent-hover) !important;
	border-color: var(--rc-accent-hover) !important;
	box-shadow: 0 4px 10px rgba(19, 143, 203, 0.3);
}

.rc-wizard-actions .btn-primary:active:not(:disabled) {
	transform: translateY(1px);
}

.rc-wizard-actions .btn-primary:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	box-shadow: none;
}

.rc-wizard-actions .btn-default {
	color: var(--rc-text-muted);
	background: var(--rc-surface-elevated);
	border-color: var(--rc-border);
}

.rc-wizard-actions .btn-default:hover {
	color: var(--rc-text);
	background: var(--rc-surface);
	border-color: var(--rc-line-done);
}

.rc-wizard-actions--sin-continuar .rc-wizard-actions__group--primary {
	margin-left: 0;
}

.rc-wizard-actions--solo-finalizar {
	justify-content: flex-end;
}

.rc-wizard-actions--solo-finalizar .rc-wizard-actions__group--primary {
	margin-left: 0;
}

@media (max-width: 480px) {
	.rc-wizard-actions {
		flex-direction: column-reverse;
		align-items: stretch;
	}

	.rc-wizard-actions__group,
	.rc-wizard-actions__group--primary {
		margin-left: 0;
		width: 100%;
	}

	.rc-wizard-actions .btn {
		width: 100%;
	}
}

/* Placeholder */
.rc-wizard-panel--placeholder {
	padding: 20px 12px;
	text-align: center;
	color: var(--rc-text-muted);
	font-size: 14px;
}

.rc-wizard-panel--placeholder .glyphicon {
	font-size: 28px;
	color: var(--rc-accent);
	opacity: 0.7;
	display: block;
	margin-bottom: 10px;
}

.rc-wizard-panel--sin-metodos {
	min-height: 0;
}

/* —— MFA paso 2 —— */
#Popup2.rc-wizard-popup.popup-mfa-metodos .modal-body,
#Popup2.rc-wizard-popup.popup-mfa-metodos #PopupBody2,
#Popup2.rc-wizard-popup.popup-mfa-metodos .modal-content,
#Popup2.rc-wizard-popup.popup-mfa-metodos .rc-wizard-panel--mfa {
	overflow-x: hidden;
	max-width: 100%;
}

#Popup2.rc-wizard-popup.popup-mfa-metodos .rc-wizard-progress {
	margin-bottom: 10px;
	padding: 10px 12px;
}

#Popup2.rc-wizard-popup.popup-mfa-metodos .rc-wizard-step-head--compact {
	margin-bottom: 8px;
}

#Popup2.rc-wizard-popup.popup-mfa-metodos .rc-wizard-documento-gestion {
	margin-bottom: 10px;
}

#Popup2.rc-wizard-popup.popup-mfa-metodos .rc-wizard-metodos-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	margin-left: -8px;
	margin-right: -8px;
}

#Popup2.rc-wizard-popup.popup-mfa-metodos .rc-wizard-metodos-row::before,
#Popup2.rc-wizard-popup.popup-mfa-metodos .rc-wizard-metodos-row::after {
	display: none;
}

#Popup2.rc-wizard-popup.popup-mfa-metodos .rc-wizard-metodo-col {
	float: none;
	display: flex;
	justify-content: center;
	padding-left: 8px;
	padding-right: 8px;
	margin-bottom: 12px;
	box-sizing: border-box;
}

#Popup2.rc-wizard-popup.popup-mfa-metodos .rc-wizard-metodo-col .mfa-metodo-card {
	width: 100%;
	max-width: 100%;
}

#Popup2.rc-wizard-popup.popup-mfa-metodos .mfa-metodo-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	min-height: 200px;
	height: 100%;
	padding: 10px 10px 12px;
	border: 2px solid var(--rc-border);
	border-radius: var(--rc-radius);
	background: var(--rc-surface-elevated);
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
	box-shadow: var(--rc-shadow-sm);
	gap: 8px;
}

#Popup2.rc-wizard-popup.popup-mfa-metodos .mfa-metodo-card:hover,
#Popup2.rc-wizard-popup.popup-mfa-metodos .mfa-metodo-card:focus {
	border-color: var(--rc-accent);
	box-shadow: 0 6px 16px rgba(19, 143, 203, 0.18);
	outline: none;
	transform: translateY(-2px);
}

#Popup2.rc-wizard-popup.popup-mfa-metodos .mfa-metodo-card--selected {
	border-color: var(--rc-accent);
	box-shadow: 0 0 0 3px var(--rc-accent-ring);
}

/* Área de imagen: ocupa todo el espacio disponible de la tarjeta (equivalente a col-4) */
#Popup2.rc-wizard-popup.popup-mfa-metodos .mfa-metodo-card-img {
	flex: 1 1 auto;
	display: block;
	width: 100%;
	min-height: 120px;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 8px;
	box-sizing: border-box;
	object-fit: contain;
	object-position: center center;
	background: var(--rc-surface);
	border-radius: 8px;
}

#Popup2.rc-wizard-popup.popup-mfa-metodos .mfa-metodo-card-img--correo,
#Popup2.rc-wizard-popup.popup-mfa-metodos .mfa-metodo-card-img--placeholder {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 120px;
	height: auto;
	max-height: none;
	margin: 0;
	background: var(--rc-accent-soft);
	border-radius: 8px;
}

#Popup2.rc-wizard-popup.popup-mfa-metodos .mfa-metodo-card-img--correo {
	color: var(--rc-accent);
	font-size: clamp(32px, 8vw, 48px);
}

#Popup2.rc-wizard-popup.popup-mfa-metodos .mfa-metodo-card-img--placeholder {
	background: var(--rc-surface);
}

#Popup2.rc-wizard-popup.popup-mfa-metodos .mfa-metodo-card-nombre {
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 600;
	color: var(--rc-text);
	text-align: center;
	line-height: 1.3;
	padding-top: 2px;
}

@media (max-width: 720px) {
	#Popup2.rc-wizard-popup.popup-mfa-metodos .rc-wizard-metodo-col.col-xs-4 {
		width: 50%;
		max-width: 50%;
		flex: 0 0 50%;
	}

	#Popup2.rc-wizard-popup.popup-mfa-metodos .mfa-metodo-card-img,
	#Popup2.rc-wizard-popup.popup-mfa-metodos .mfa-metodo-card-img--correo,
	#Popup2.rc-wizard-popup.popup-mfa-metodos .mfa-metodo-card-img--placeholder {
		min-height: 100px;
	}
}

@media (max-width: 400px) {
	#Popup2.rc-wizard-popup.popup-mfa-metodos .rc-wizard-metodo-col.col-xs-4 {
		width: 50%;
		max-width: 50%;
		flex: 0 0 50%;
	}

	#Popup2.rc-wizard-popup.popup-mfa-metodos .mfa-metodo-card {
		min-height: 170px;
	}
}

/* —— Paso 4 —— */
.rc-wizard-paso4-card {
	text-align: center;
	padding: 20px 16px;
	background: var(--rc-surface);
	border: 1px solid var(--rc-border);
	border-radius: var(--rc-radius-lg);
	box-shadow: var(--rc-shadow-sm);
}

.rc-wizard-paso4__icono {
	margin-bottom: 10px;
	font-size: 40px;
	line-height: 1;
}

.rc-wizard-paso4__icono--girar {
	display: inline-block;
	animation: rc-wizard-paso4-girar 1s linear infinite;
	color: var(--rc-accent);
}

.rc-wizard-paso4__icono--ok {
	color: var(--rc-done);
}

.rc-wizard-paso4__icono--error {
	color: var(--rc-danger);
}

.rc-wizard-paso4__titulo {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 700;
	color: var(--rc-text);
}

.rc-wizard-paso4__mensaje {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--rc-text-muted);
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
}

.rc-wizard-paso4__contador {
	margin: 10px 0 0;
	padding: 8px 14px;
	display: inline-block;
	font-size: 14px;
	color: var(--rc-text);
	background: var(--rc-accent-soft);
	border-radius: 999px;
}

.rc-wizard-paso4__contador strong {
	color: var(--rc-accent);
	font-size: 18px;
	font-weight: 700;
}

.rc-wizard-paso4-card.rc-wizard-paso4__estado--error {
	border-color: rgba(184, 84, 80, 0.35);
	background: #fdf6f6;
}

.rc-wizard-paso4-card.rc-wizard-paso4__estado--exito,
.rc-wizard-paso4-card.rc-wizard-paso4__estado--redirigiendo {
	border-color: rgba(61, 122, 92, 0.35);
}

@keyframes rc-wizard-paso4-girar {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}
