/* Público: registro participante + panel Mundial (banderas flagcdn.com) */

.fdb-predictions-msg {
	margin: 1em 0;
	color: #50575e;
}

.fdb-login-staff-preview {
	margin-bottom: 1rem;
}

.fdb-predictions-notice {
	padding: 0.75em 1.1em;
	margin: 1em 0;
	border-radius: 8px;
	border: 1px solid #c3c4c7;
	background: #f6f7f7;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.fdb-predictions-notice--success {
	border-color: #00a32a;
	background: linear-gradient(135deg, #edfaef 0%, #e8f5e9 100%);
}

.fdb-predictions-notice--error {
	border-color: #d63638;
	background: linear-gradient(135deg, #fcf0f1 0%, #fce8e8 100%);
}

/* Registro: bloque centrado bajo título/subtítulo del layout (Elementor/tema) */
.fdb-participant-register {
	position: relative;
	max-width: min(420px, 100%);
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.fdb-participant-register .fdb-pr-form-errors {
	margin: 0 0 1rem;
}

.fdb-participant-register .fdb-pr-form-errors:not([hidden]) {
	display: block;
}

/* Anti-bots: campo trampa (no rellenar; oculto a la vista) */
.fdb-participant-register .fdb-pr-hp {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.fdb-participant-register .fdb-pr-field {
	margin: 0 0 1.1rem;
	text-align: left;
}

.fdb-participant-register .fdb-pr-field-inner {
	margin: 0;
}

/* Etiqueta arriba a la izquierda; 12px hasta el campo */
.fdb-participant-register .fdb-pr-field:not([data-field="rules"]) .fdb-auth-label {
	display: block;
	text-align: left;
	margin-bottom: 12px;
	line-height: 1.35;
	font-size: 0.875rem;
	font-weight: 600;
	color: #334155;
}

.fdb-participant-register .fdb-pr-field:not([data-field="rules"]) .fdb-pr-field-inner > br {
	display: none;
}

.fdb-pr-shell {
	border-radius: 12px;
	border: 1px solid #cbd5e1;
	background: #f8fafc;
	overflow: hidden;
	transition:
		border-color 0.15s ease,
		box-shadow 0.15s ease,
		background 0.15s ease;
}

.fdb-pr-shell:focus-within {
	border-color: #38bdf8;
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
	background: #fff;
}

.fdb-participant-register .fdb-pr-shell .fdb-auth-input,
.fdb-participant-register .fdb-pr-shell select.fdb-auth-input {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	padding: 0.7rem 0.9rem;
	font-size: 1rem;
	line-height: 1.4;
	color: #0f172a;
}

.fdb-participant-register .fdb-pr-shell .fdb-auth-input:hover,
.fdb-participant-register .fdb-pr-shell select.fdb-auth-input:hover {
	border: none;
	box-shadow: none;
}

.fdb-participant-register .fdb-pr-shell .fdb-auth-input:focus,
.fdb-participant-register .fdb-pr-shell select.fdb-auth-input:focus {
	outline: none;
	border: none;
	box-shadow: none;
}

.fdb-participant-register .fdb-pr-shell--select select.fdb-auth-input {
	cursor: pointer;
}

.fdb-pr-field.is-invalid .fdb-pr-shell,
.fdb-pr-field.is-invalid .fdb-password-field {
	border-color: #d63638;
	box-shadow: 0 0 0 2px rgba(214, 54, 56, 0.18);
}

.fdb-pr-field-error {
	display: block;
	margin-top: 8px;
	font-size: 0.875rem;
	line-height: 1.4;
	font-weight: 500;
	color: #d63638;
}

.fdb-participant-register .description {
	display: block;
	margin-top: 10px;
	font-size: 0.9em;
	color: #646970;
}

.fdb-participant-register .required {
	color: #d63638;
}

.fdb-participant-register > p {
	margin: 0 0 1.1rem;
	text-align: left;
}

.fdb-participant-register > p:last-child {
	margin-bottom: 0;
}

.fdb-participant-register p:has(.fdb-btn-primary) {
	text-align: center;
	margin-top: 1.25rem;
}

.fdb-participant-register .fdb-pr-login-hint {
	text-align: center;
}

.fdb-pr-rules {
	margin: 1.1rem 0 0.25rem;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #334155;
}

.fdb-pr-rules-label {
	cursor: pointer;
	font-weight: 500;
}

.fdb-pr-rules-label input {
	margin-right: 0.35rem;
	vertical-align: 0.08em;
}

.fdb-pr-rules-link {
	font-weight: 600;
	white-space: nowrap;
}

.fdb-btn-primary {
	display: inline-block;
	margin-top: 0.25em;
	padding: 0.65em 1.35em;
	font-size: 1rem;
	line-height: 1.4;
	font-weight: 700;
	text-decoration: none;
	text-align: center;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	background: linear-gradient(135deg, #2271b1 0%, #135e96 100%);
	color: #fff;
	box-shadow: 0 4px 14px rgba(19, 94, 150, 0.35);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fdb-btn-primary:hover,
.fdb-btn-primary:focus {
	background: linear-gradient(135deg, #135e96 0%, #0f4d7a 100%);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(19, 94, 150, 0.45);
}

/* —— Panel contenedor —— */
.fdb-mundial--panel {
	max-width: 920px;
	margin: 0 auto;
	padding: 1.25rem 1rem 2rem;
}

.fdb-mundial__hub-intro {
	margin: 0 0 1.5rem;
	padding: 0.85rem 1rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #475569;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.fdb-mundial__hub-intro p:last-child {
	margin-bottom: 0;
}

.fdb-mundial__title {
	margin: 0 0 0.65rem;
	font-size: clamp(1.35rem, 4vw, 1.85rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: #0f172a;
}

.fdb-mundial__title--group {
	text-align: center;
}

/* —— Invitado —— */
.fdb-mundial__guest-card {
	max-width: 420px;
	margin: 0 auto;
	padding: 2rem 1.5rem;
	text-align: center;
	border-radius: 16px;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.fdb-mundial__guest-title {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
	font-weight: 800;
	color: #0f172a;
}

.fdb-mundial__guest-reg {
	margin-top: 1rem;
}

.fdb-mundial__guest-reg a {
	font-weight: 600;
	color: #135e96;
}

/* —— Rejilla grupos —— */
.fdb-mundial__groups {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.fdb-mundial__groups-item {
	margin: 0;
}

.fdb-mundial__group-card {
	display: block;
	text-decoration: none;
	color: #1e293b;
	border-radius: 16px;
	overflow: hidden;
	min-height: 148px;
	box-shadow:
		0 4px 6px -1px rgba(15, 23, 42, 0.08),
		0 10px 24px -4px rgba(15, 23, 42, 0.12),
		0 0 0 1px rgba(148, 163, 184, 0.25);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	position: relative;
}

.fdb-mundial__group-card:hover,
.fdb-mundial__group-card:focus {
	color: #0f172a;
	transform: translateY(-4px) scale(1.02);
	box-shadow:
		0 12px 24px -6px rgba(15, 23, 42, 0.15),
		0 20px 40px -12px rgba(15, 23, 42, 0.18),
		0 0 0 1px rgba(100, 116, 139, 0.35);
}

.fdb-mundial__group-card-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	padding: 0.85rem 0.65rem 1rem;
	min-height: 148px;
	box-sizing: border-box;
	background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

.fdb-mundial__group-flags {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.35rem;
	width: 100%;
	max-width: 132px;
}

.fdb-mundial__mini-flag {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
	background: #fff;
	border: 1px solid #cbd5e1;
}

.fdb-mundial__mini-flag .fdb-flag {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

.fdb-mundial__group-letter-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.1rem;
	margin-top: 0.35rem;
}

.fdb-mundial__group-label {
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #64748b;
	font-weight: 600;
}

.fdb-mundial__group-letter {
	font-size: 2rem;
	font-weight: 900;
	line-height: 1;
	color: #0f172a;
}

/* Progreso personal (debajo de la rejilla de grupos) */
.fdb-mundial__progress {
	margin-top: 2rem;
	padding: 1.15rem 1.2rem 1.25rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow:
		0 4px 6px -1px rgba(15, 23, 42, 0.06),
		0 10px 22px -5px rgba(15, 23, 42, 0.08);
}

.fdb-mundial__progress-title {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 800;
	color: #0f172a;
}

.fdb-mundial__progress-summary {
	margin: 0 0 0.85rem;
	font-size: 0.95rem;
	color: #475569;
	line-height: 1.45;
}

.fdb-mundial__progress-bar {
	display: block;
	height: 10px;
	border-radius: 999px;
	background: #e2e8f0;
	overflow: hidden;
	margin-bottom: 0.85rem;
}

.fdb-mundial__progress-fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
	transition: width 0.35s ease;
}

.fdb-mundial__progress-pending {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #64748b;
}

.fdb-mundial__progress-pending a {
	font-weight: 600;
	color: #135e96;
	text-decoration: none;
}

.fdb-mundial__progress-pending a:hover {
	text-decoration: underline;
}

.fdb-mundial__progress-pending-static {
	font-weight: 600;
	color: #64748b;
}

.fdb-mundial__progress-pending-label {
	font-weight: 600;
	color: #475569;
	margin-right: 0.25rem;
}

.fdb-mundial__progress-done {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: #15803d;
}

.fdb-mundial__progress-rules {
	margin: 0.85rem 0 0;
	font-size: 0.82rem;
	line-height: 1.45;
	color: #64748b;
}

/* Banderas genéricas */
.fdb-flag {
	display: inline-block;
	vertical-align: middle;
	border-radius: 4px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
	object-fit: cover;
}

.fdb-flag--placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 1.5rem;
	font-size: 1rem;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 4px;
}

/* Cabecera grupo (partidos) */
.fdb-mundial__group-head {
	text-align: center;
	margin-bottom: 1.5rem;
}

.fdb-mundial__group-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 0.75rem;
}

.fdb-mundial__strip-flag {
	line-height: 0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.fdb-mundial__back {
	margin-bottom: 1rem;
	font-weight: 600;
}

.fdb-mundial__back a {
	color: #135e96;
	text-decoration: none;
}

.fdb-mundial__back a:hover {
	text-decoration: underline;
}

/* Tarjetas partido */
.fdb-mundial__matches {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.fdb-mundial__match-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 1.15rem 1.2rem 1.25rem;
	box-shadow:
		0 4px 6px -1px rgba(15, 23, 42, 0.06),
		0 10px 22px -5px rgba(15, 23, 42, 0.1);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.fdb-mundial__match-card:hover {
	box-shadow:
		0 8px 16px -4px rgba(15, 23, 42, 0.1),
		0 18px 36px -10px rgba(15, 23, 42, 0.14);
	border-color: #cbd5e1;
}

.fdb-mundial__match-card--locked {
	background: #f8fafc;
	border-color: #cbd5e1;
}

.fdb-mundial__match-card--locked:hover {
	border-color: #cbd5e1;
	box-shadow:
		0 4px 6px -1px rgba(15, 23, 42, 0.06),
		0 10px 22px -5px rgba(15, 23, 42, 0.1);
}

.fdb-mundial__official-result {
	margin: 0 0 0.65rem;
	padding: 0.5rem 0.75rem;
	font-size: 0.9rem;
	font-weight: 700;
	color: #0f766e;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 10px;
}

.fdb-mundial__match-status-msg,
.fdb-mundial__lock-msg {
	margin: 0 0 0.35rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: #92400e;
}

.fdb-mundial__lock-hint {
	margin: 0 0 0.65rem;
	font-size: 0.82rem;
	color: #64748b;
	line-height: 1.4;
}

.fdb-mundial__scoreboard--readonly {
	opacity: 0.92;
}

.fdb-mundial-score-readonly {
	display: inline-block;
	min-width: 2.2rem;
	padding: 0.45rem 0.35rem;
	font-size: 1.35rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	text-align: center;
	color: #e2e8f0;
}

.fdb-mundial__submit-disabled-note {
	display: inline-block;
	font-size: 0.95rem;
	font-weight: 600;
	color: #64748b;
	padding: 0.65em 0;
}

.fdb-mundial__match-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.5rem;
	margin-bottom: 1rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid #e2e8f0;
	font-size: 0.875rem;
	line-height: 1.4;
	color: #64748b;
}

.fdb-mundial__match-time {
	font-weight: 600;
	color: #334155;
}

.fdb-mundial__match-meta-sep {
	color: #cbd5e1;
	user-select: none;
}

.fdb-mundial__match-meta-item--venue {
	font-weight: 500;
	color: #475569;
}

.fdb-mundial__match-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 0.75rem 1rem;
}

.fdb-mundial__match-side {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	min-width: 0;
}

.fdb-mundial__match-side--away {
	flex-direction: row-reverse;
	text-align: right;
}

.fdb-mundial__match-flag {
	flex-shrink: 0;
	line-height: 0;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
	border: 1px solid #e2e8f0;
}

.fdb-mundial__team-name {
	font-weight: 700;
	font-size: clamp(0.88rem, 2.5vw, 1.05rem);
	color: #0f172a;
	line-height: 1.25;
}

.fdb-mundial__prediction-dock {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-width: 148px;
	padding: 0.5rem 0.65rem;
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.fdb-mundial__prediction-label {
	font-size: 0.65rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #64748b;
}

.fdb-mundial__scoreboard {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
	padding: 0.55rem 0.75rem;
	border-radius: 12px;
	box-shadow:
		0 4px 12px rgba(15, 23, 42, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.fdb-mundial-score-input {
	width: 2.85rem;
	padding: 0.45rem 0.2rem;
	font-size: 1.35rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	text-align: center;
	border: 2px solid transparent;
	border-radius: 10px;
	background: #fff;
	color: #0f172a;
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fdb-mundial-score-input:focus {
	outline: none;
	border-color: #38bdf8;
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.35);
}

.fdb-mundial__colon {
	font-size: 1.35rem;
	font-weight: 800;
	color: #94a3b8;
	line-height: 1;
}

.fdb-mundial__submit-wrap {
	margin-top: 1.5rem;
	text-align: center;
}

.fdb-mundial__submit {
	font-size: 1.05rem;
}

@media (max-width: 720px) {
	.fdb-mundial__match-body {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.fdb-mundial__prediction-dock {
		order: 2;
		min-width: 0;
		width: 100%;
		max-width: 280px;
		margin-left: auto;
		margin-right: auto;
	}

	.fdb-mundial__match-side--home {
		order: 1;
	}

	.fdb-mundial__match-side--away {
		order: 3;
		flex-direction: row-reverse;
		text-align: right;
	}
}

/* Ranking */
.fdb-ranking__title {
	margin: 0 0 1rem;
	font-size: clamp(1.2rem, 3.5vw, 1.65rem);
	font-weight: 800;
	color: #0f172a;
}

.fdb-ranking__table {
	width: 100%;
	max-width: 640px;
	border-collapse: collapse;
	font-size: 0.95rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.fdb-ranking__table th,
.fdb-ranking__table td {
	padding: 0.65rem 0.85rem;
	text-align: left;
	border-bottom: 1px solid #e2e8f0;
}

.fdb-ranking__table thead th {
	background: #f1f5f9;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #64748b;
	font-weight: 800;
}

.fdb-ranking__table tbody tr:last-child td {
	border-bottom: none;
}

.fdb-ranking__col-pos {
	width: 2.5rem;
	text-align: center;
	color: #64748b;
	font-weight: 700;
}

.fdb-ranking__col-pts {
	text-align: center;
	width: 3rem;
}

.fdb-ranking__foot {
	margin: 1rem 0 0;
	font-size: 0.8rem;
	line-height: 1.45;
	color: #64748b;
	max-width: 640px;
}

.fdb-ranking__empty {
	max-width: 640px;
}

.fdb-ranking__notice {
	margin: 0 0 1.15rem;
	padding: 0.85rem 1rem;
	font-size: 0.92rem;
	line-height: 1.5;
	color: #92400e;
	background: #fffbeb;
	border: 1px solid #fcd34d;
	border-radius: 10px;
	max-width: 640px;
}

/* —— Login / recuperación / registro (contraseña visible) —— */
.fdb-auth-card {
	max-width: 420px;
	margin: 0 auto;
	padding: 0 0.25rem 1.5rem;
}

.fdb-auth-card__inner {
	padding: 2rem 1.75rem 1.75rem;
	border-radius: 20px;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow:
		0 4px 6px -1px rgba(15, 23, 42, 0.07),
		0 16px 40px -12px rgba(15, 23, 42, 0.14);
}

.fdb-auth-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #0f172a;
	line-height: 1.2;
	text-align: center;
}

.fdb-participant-login .fdb-auth-card__title {
	font-weight: 600;
}

.fdb-auth-card__lead {
	margin: 0 0 1.35rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #64748b;
	text-align: center;
}

/* Cuenta participante: ancho útil en desktop + dos columnas */
.fdb-participant-account.fdb-auth-card {
	max-width: min(100%, 56rem);
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
}

.fdb-participant-account .fdb-auth-card__inner {
	max-width: none;
}

.fdb-account-layout {
	display: block;
}

.fdb-account-header {
	margin-bottom: 1.5rem;
}

.fdb-account-header .fdb-auth-card__title {
	text-align: center;
}

.fdb-account-header .fdb-auth-card__lead {
	text-align: center;
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}

.fdb-account-callout {
	margin: 1.1rem auto 0;
	max-width: 42rem;
	padding: 0.9rem 1.1rem;
	border-radius: 12px;
	border: 1px solid #bae6fd;
	background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
	box-shadow: 0 2px 10px rgba(14, 165, 233, 0.08);
}

.fdb-account-callout__text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: #0c4a6e;
	font-weight: 500;
}

.fdb-account-col--readonly,
.fdb-account-col--forms {
	min-width: 0;
}

@media (max-width: 899px) {
	.fdb-account-col--readonly {
		padding-bottom: 1.25rem;
		margin-bottom: 0.25rem;
		border-bottom: 1px solid #e2e8f0;
	}

	.fdb-account-col--readonly .fdb-account-section {
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: none;
	}
}

.fdb-account-section__intro {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #64748b;
}

@media (min-width: 900px) {
	.fdb-account-layout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem 2.5rem;
		align-items: start;
	}

	.fdb-account-header {
		grid-column: 1 / -1;
		margin-bottom: 0.25rem;
	}

	.fdb-account-header .fdb-auth-card__title,
	.fdb-account-header .fdb-auth-card__lead {
		text-align: left;
		margin-left: 0;
		margin-right: 0;
		max-width: none;
	}

	.fdb-account-callout {
		margin-left: 0;
		margin-right: 0;
		max-width: none;
	}

	.fdb-participant-account .fdb-auth-card__inner {
		padding: 2rem 2rem 2rem;
	}

	.fdb-account-col--readonly .fdb-account-section--readonly-block {
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: none;
	}

	.fdb-account-col--forms .fdb-account-section:first-child {
		margin-top: 0;
	}
}

.fdb-account-section {
	margin: 0 0 1.75rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #e2e8f0;
}

.fdb-account-section:last-of-type {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.fdb-account-section__title {
	margin: 0 0 0.85rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
}

.fdb-account-readonly {
	margin: 0 0 1.15rem;
	padding: 0.85rem 1rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
}

.fdb-account-readonly__row {
	margin: 0 0 0.85rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #475569;
}

.fdb-account-readonly__row:last-child {
	margin-bottom: 0;
}

.fdb-account-readonly__label {
	font-weight: 600;
	color: #334155;
}

.fdb-account-readonly__value {
	color: #0f172a;
}

.fdb-account-form .fdb-auth-submit-wrap {
	margin-top: 0.25rem;
}

.fdb-auth-form {
	margin: 0;
}

.fdb-auth-field {
	margin: 0 0 1.1rem;
}

.fdb-auth-field--inline {
	margin-bottom: 0.35rem;
}

.fdb-auth-label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #334155;
}

.fdb-auth-input {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.7rem 0.9rem;
	font-size: 1rem;
	line-height: 1.4;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	background: #f8fafc;
	color: #0f172a;
	transition:
		border-color 0.15s ease,
		box-shadow 0.15s ease,
		background 0.15s ease;
}

.fdb-auth-input:hover {
	border-color: #94a3b8;
}

.fdb-auth-input:focus {
	outline: none;
	border-color: #38bdf8;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.fdb-password-field {
	display: flex;
	align-items: stretch;
	gap: 0;
	border-radius: 12px;
	border: 1px solid #cbd5e1;
	background: #f8fafc;
	overflow: hidden;
	transition:
		border-color 0.15s ease,
		box-shadow 0.15s ease;
}

.fdb-password-field:focus-within {
	border-color: #38bdf8;
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
	background: #fff;
}

.fdb-password-field .fdb-auth-input--with-toggle,
.fdb-password-field .fdb-input.fdb-auth-input--with-toggle {
	flex: 1;
	min-width: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.fdb-password-field .fdb-auth-input--with-toggle:focus {
	box-shadow: none;
}

/* Correo en login: mismo contenedor que contraseña (sin botón ojo) */
.fdb-participant-login .fdb-login-email-field.fdb-password-field {
	width: 100%;
	max-width: 100%;
}

.fdb-password-toggle {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	padding: 0;
	border: none;
	border-left: 1px solid #e2e8f0;
	background: #fff;
	color: #64748b;
	cursor: pointer;
	transition:
		background 0.15s ease,
		color 0.15s ease;
}

.fdb-password-toggle:hover,
.fdb-password-toggle:focus {
	color: #0f172a;
	background: #f1f5f9;
	outline: none;
}

.fdb-password-toggle:focus-visible {
	box-shadow: inset 0 0 0 2px #38bdf8;
}

.fdb-password-toggle__icon--eye {
	display: block;
	width: 1.35rem;
	height: 1.35rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2364748b' d='M12 9a3 3 0 100 6 3 3 0 000-6zm0-2c4.97 0 9.17 3.11 10.5 7.5-1.33 4.39-5.53 7.5-10.5 7.5S2.83 18.89 1.5 14.5C2.83 10.11 7.03 7 12 7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.fdb-password-toggle.is-visible .fdb-password-toggle__icon--eye {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2364748b' d='M3.53 2.47L2.47 3.53l2.62 2.62a14.98 14.98 0 00-3.87 6.35h2.05c.83-3.13 3.43-5.5 6.73-5.5 1.06 0 2.06.24 2.95.67l1.58-1.58A9.98 9.98 0 0012 4c-1.93 0-3.73.55-5.25 1.5l-3.22-3.03zm14.44 14.44l2.5 2.5 1.06-1.06-18-18-1.06 1.06 3.7 3.7A14.98 14.98 0 001.5 14.5h2.05c.83-3.13 3.43-5.5 6.73-5.5 1.06 0 2.06.24 2.95.67l4.9-4.9c-.55-.36-1.14-.67-1.76-.92l1.58-1.58c.9.45 1.73 1.02 2.49 1.69l1.44-1.44c-1.14-1-2.42-1.8-3.8-2.36L18.97 16.91zM12 19c-4.97 0-9.17-3.11-10.5-7.5.29-.95.66-1.87 1.1-2.73L5.62 16.9c.93.36 1.93.6 2.98.6 3.3 0 6.14-2.37 6.97-5.5h2.05c-.33 1.28-.86 2.48-1.55 3.57l1.42 1.42c.95-1.39 1.68-2.92 2.15-4.55H22.5c-1.05 3.61-4.13 6.51-8.25 7.12l-1.65-1.65c.34-.04.67-.12 1-.12z'/%3E%3C/svg%3E");
}

.fdb-auth-check {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.9rem;
	color: #475569;
	cursor: pointer;
	line-height: 1.4;
}

.fdb-auth-check input {
	margin-top: 0.2rem;
	flex-shrink: 0;
}

.fdb-auth-submit-wrap {
	margin: 1.35rem 0 0;
	text-align: center;
}

.fdb-auth-submit {
	width: 100%;
	max-width: 100%;
	margin-top: 0;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}

.fdb-auth-links {
	margin: 1.25rem 0 0;
	text-align: center;
	font-size: 0.9rem;
	line-height: 1.6;
	color: #64748b;
}

.fdb-auth-link {
	font-weight: 600;
	color: #135e96;
	text-decoration: none;
}

.fdb-auth-link:hover,
.fdb-auth-link:focus {
	text-decoration: underline;
}

.fdb-auth-links__sep {
	margin: 0 0.35rem;
	color: #cbd5e1;
}

.fdb-participant-register .fdb-password-field--register {
	width: 100%;
	max-width: 100%;
}

.fdb-participant-register .fdb-auth-field--register-pass {
	margin-bottom: 0.25rem;
}

/* Invitados: rejilla de grupos + modal login */
.fdb-mundial__guest-banner--after-groups {
	margin-top: 1.75rem;
	margin-bottom: 0;
}

.fdb-mundial__guest-banner {
	margin-bottom: 1.25rem;
	padding: 1rem 1.15rem;
	border-radius: 14px;
	background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
	border: 1px solid #bae6fd;
	box-shadow: 0 2px 10px rgba(14, 165, 233, 0.12);
}

.fdb-mundial__guest-banner-text {
	margin: 0 0 0.85rem;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #0c4a6e;
	font-weight: 500;
}

.fdb-mundial__guest-banner-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 1rem;
}

.fdb-mundial__guest-banner-btn {
	margin-top: 0;
	font-size: 0.95rem;
	padding: 0.55em 1.25em;
}

.fdb-mundial__guest-banner-secondary {
	font-weight: 600;
	font-size: 0.9rem;
	color: #0369a1;
	text-decoration: none;
}

.fdb-mundial__guest-banner-secondary:hover {
	text-decoration: underline;
}

.fdb-mundial__guest-calendar-note {
	margin: 0 0 1rem;
	font-size: 0.88rem;
	color: #64748b;
	line-height: 1.45;
}

.fdb-mundial__group-card--guest {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	font: inherit;
	color: inherit;
	text-align: inherit;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	border: none;
	border-radius: 16px;
}

.fdb-mundial__group-card--guest:focus {
	outline: none;
}

.fdb-mundial__group-card--guest:focus-visible .fdb-mundial__group-card-inner {
	box-shadow:
		0 0 0 3px #fff,
		0 0 0 5px #38bdf8;
}

.fdb-mundial-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	box-sizing: border-box;
}

.fdb-mundial-modal:not([hidden]) {
	display: flex;
}

.fdb-mundial-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(4px);
}

.fdb-mundial-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 400px;
	animation: fdb-modal-in 0.22s ease-out;
}

@keyframes fdb-modal-in {
	from {
		opacity: 0;
		transform: scale(0.96) translateY(6px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.fdb-mundial-modal__content {
	position: relative;
	padding: 1.75rem 1.5rem 1.5rem;
	border-radius: 18px;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow:
		0 20px 50px -12px rgba(15, 23, 42, 0.35),
		0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.fdb-mundial-modal__title {
	margin: 0 0 0.65rem;
	font-size: 1.2rem;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.25;
	text-align: center;
}

.fdb-mundial-modal__text {
	margin: 0 0 1.25rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #475569;
	text-align: center;
}

.fdb-mundial-modal__actions {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	align-items: stretch;
	margin-bottom: 0.75rem;
}

.fdb-mundial-modal__login {
	margin-top: 0;
	text-align: center;
	text-decoration: none;
	width: 100%;
	box-sizing: border-box;
}

.fdb-mundial-modal__register {
	text-align: center;
	font-weight: 600;
	font-size: 0.9rem;
	color: #135e96;
	text-decoration: none;
	padding: 0.35rem;
}

.fdb-mundial-modal__register:hover {
	text-decoration: underline;
}

.fdb-mundial-modal__whatsapp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	box-sizing: border-box;
	padding: 0.65rem 0.85rem;
	border-radius: 10px;
	background: #25d366;
	color: #ffffff;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	border: 1px solid #1faa54;
}

.fdb-mundial-modal__whatsapp:hover,
.fdb-mundial-modal__whatsapp:focus {
	background: #1fb95b;
	color: #ffffff;
	text-decoration: none;
}

.fdb-mundial-modal__whatsapp-icon {
	display: inline-flex;
	width: 1.1rem;
	height: 1.1rem;
}

.fdb-mundial-modal__whatsapp-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.fdb-mundial-modal__close {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #64748b;
	background: transparent;
	border: none;
	border-radius: 8px;
	cursor: pointer;
}

.fdb-mundial-modal__close:hover {
	color: #0f172a;
	background: #f1f5f9;
}

html.fdb-mundial-modal-open {
	overflow: hidden;
}

/* Cerrar sesión (shortcode) */
.fdb-participant-logout--link {
	display: inline-block;
	font-weight: 600;
	font-size: 0.95rem;
	color: #135e96;
	text-decoration: none;
}

.fdb-participant-logout--link:hover,
.fdb-participant-logout--link:focus {
	text-decoration: underline;
	color: #0f172a;
}

.fdb-participant-logout--btn {
	display: inline-block;
	margin-top: 0;
	text-decoration: none;
	text-align: center;
}
