/*
 * Farmaclick core · cuenta del cliente: registro, «Actualiza tus datos», Datos de la cuenta y checkout.
 * Usa los colores y tipografías del tema (variables --fc-*), con valores de respaldo si faltan.
 */

/* Documento: el tipo (V/E/J/G) pequeño y pegado al número, en una sola fila. */
.fc-doc-row {
	display: flex;
	align-items: flex-end;
	gap: 0;
	margin: 0 0 1em;
	clear: both;
}
.fc-doc-row .form-row {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}
.fc-doc-row .fc-f-doctype {
	flex: 0 0 4.5rem;
	position: relative;
}
.fc-doc-row .fc-f-docid {
	flex: 1 1 auto;
	min-width: 0;
}
/* La etiqueta del tipo se lee con lector de pantalla; a la vista basta la del número. */
.fc-doc-row .fc-f-doctype label {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.fc-doc-row .fc-f-doctype select {
	width: 100% !important;
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
	border-right-width: 0 !important;
	background-color: var(--fc-bg, #f3eee9);
	font-family: var(--fc-mono, monospace);
	font-weight: 600;
	text-align: center;
}
.fc-doc-row .fc-f-docid input {
	width: 100% !important;
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
	font-family: var(--fc-mono, monospace);
}
/* Mismo alto para el tipo y el número. */
.fc-doc-row select,
.fc-doc-row input {
	min-height: 2.75rem;
	box-sizing: border-box;
}
.fc-f-phone input {
	font-family: var(--fc-mono, monospace);
}

/* Promociones: recuadro destacado y fácil de leer (siempre se puede desmarcar). */
.fc-optin-box {
	margin: 1.25em 0;
	padding: 1rem 1.1rem;
	border: 2px solid var(--fc-orange, #e4731b);
	border-radius: var(--fc-radius, 16px);
	background: #fff7ef;
}
.fc-optin-box__label {
	display: flex !important;
	gap: .7rem;
	align-items: flex-start;
	margin: 0 !important;
	font-size: 1.08rem;
	line-height: 1.45;
	color: var(--fc-ink, #201719);
	cursor: pointer;
}
.fc-optin-box__label input[type="checkbox"] {
	flex: 0 0 auto;
	width: 1.3rem;
	height: 1.3rem;
	margin: .15rem 0 0 !important;
	accent-color: var(--fc-brand, #8c1d2a);
}
.fc-optin-box__note {
	margin: .45rem 0 0 2rem !important;
	font-size: .9rem;
	color: var(--fc-muted, #6b5f61);
}

/* Casilla de Términos del registro y de la actualización. */
.fc-terms-row label,
.fc-update__terms label {
	display: flex !important;
	gap: .6rem;
	align-items: flex-start;
	line-height: 1.45;
}
.fc-terms-row input[type="checkbox"],
.fc-update__terms input[type="checkbox"] {
	flex: 0 0 auto;
	width: 1.2rem;
	height: 1.2rem;
	margin: .15rem 0 0 !important;
	accent-color: var(--fc-brand, #8c1d2a);
}

/* «Actualiza tus datos». */
.fc-update {
	max-width: 40rem;
}
.fc-update__title {
	margin: 0 0 .4em;
	font-family: var(--fc-heading, inherit);
}
.fc-update__intro {
	margin: 0 0 1.4em;
	color: var(--fc-muted, #6b5f61);
}
.fc-update__terms {
	margin: 1.25em 0;
	padding: 1rem 1.1rem;
	border: 1px solid var(--fc-line, #e6dfdb);
	border-radius: var(--fc-radius, 16px);
	background: var(--fc-paper, #fbf8f5);
}
.fc-update__terms-title {
	margin: 0 0 .5em !important;
}
.fc-update__terms-summary {
	margin: 0 0 .9em !important;
	color: var(--fc-muted, #6b5f61);
}
.fc-update .button {
	min-height: 2.9rem;
	padding-inline: 1.6rem;
}

@media (max-width: 480px) {
	.fc-doc-row .fc-f-doctype {
		flex-basis: 4rem;
	}
	.fc-optin-box__label {
		font-size: 1rem;
	}
}
