/* TraderDaniel Academy — authentication experience v0.4.2. */
body.tda-auth-document { margin: 0; background: #f5f7ff; color: var(--tda-color-text); font-family: var(--tda-font-sans); }
body.tda-auth-document #wpadminbar { display: none !important; }
.tda-auth-shell { min-height: 100vh; background: radial-gradient(circle at 8% 15%,rgba(109,74,255,.15),transparent 30%),radial-gradient(circle at 92% 10%,rgba(24,189,232,.16),transparent 29%),linear-gradient(145deg,#fafbff,#eef3ff); }
.tda-auth-header { display: flex; align-items: center; justify-content: space-between; width: min(calc(100% - 48px),1280px); min-height: 82px; margin-inline: auto; }
.tda-auth-brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--tda-color-text); text-decoration: none; }
.tda-auth-brand > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--tda-gradient-brand); box-shadow: 0 14px 30px rgba(109,74,255,.25); color: #fff; font-size: .75rem; font-weight: 900; }
.tda-auth-brand strong { display: grid; font-size: .98rem; font-weight: 650; line-height: 1; }
.tda-auth-brand small { margin-top: .35rem; color: #66708a; font-size: .62rem; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.tda-auth-back { color: #59627a; font-size: .82rem; font-weight: 720; text-decoration: none; }
.tda-auth-main { display: grid; align-items: center; width: min(calc(100% - 48px),1280px); min-height: calc(100vh - 150px); margin-inline: auto; padding: 2rem 0 4rem; }
.tda-auth-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(440px,.72fr); overflow: hidden; border: 1px solid rgba(255,255,255,.9); border-radius: 34px; background: rgba(255,255,255,.75); box-shadow: 0 30px 90px rgba(34,43,89,.13); backdrop-filter: blur(18px); }
.tda-auth-main--register .tda-auth-grid { grid-template-columns: minmax(360px,.75fr) minmax(580px,1.1fr); }
.tda-auth-story { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 650px; padding: clamp(2.5rem,5vw,5.5rem); overflow: hidden; background: radial-gradient(circle at 78% 18%,rgba(24,189,232,.32),transparent 30%),linear-gradient(145deg,#241867,#432c9c 58%,#116e98); color: #fff; }
.tda-auth-story::before { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; pointer-events: none; }
.tda-auth-story > * { position: relative; z-index: 1; }
.tda-auth-eyebrow { color: #9cecff; font-size: .72rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.tda-auth-story h1 { max-width: 740px; margin: 1rem 0 1.3rem; font-size: clamp(3rem,5.5vw,5.8rem); font-weight: 610; line-height: .98; letter-spacing: -.065em; }
.tda-auth-main--register .tda-auth-story h1 { font-size: clamp(2.8rem,4.7vw,5rem); }
.tda-auth-story > p { max-width: 620px; margin: 0; color: rgba(255,255,255,.72); font-size: 1.04rem; line-height: 1.75; }
.tda-auth-story__card { display: flex; align-items: center; gap: 1rem; margin-top: 3rem; padding: 1.1rem; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; background: rgba(255,255,255,.08); }
.tda-auth-story__card > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--tda-gradient-brand); font-weight: 900; }
.tda-auth-story__card div { display: grid; gap: .25rem; }
.tda-auth-story__card small { color: rgba(255,255,255,.58); }
.tda-auth-benefits { display: grid; gap: .8rem; margin: 2.3rem 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.82); font-size: .9rem; }
.tda-auth-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.2rem,4vw,4.8rem); background: rgba(255,255,255,.88); }
.tda-auth-panel--wide { justify-content: flex-start; }
.tda-auth-panel__heading > span { color: var(--tda-color-primary-strong); font-size: .72rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.tda-auth-panel__heading h2 { margin: .65rem 0 .55rem; font-size: clamp(2rem,3.7vw,3.5rem); font-weight: 620; line-height: 1.02; letter-spacing: -.055em; }
.tda-auth-panel__heading p { margin: 0 0 1.8rem; color: #6a7289; line-height: 1.65; }
.tda-auth-form { display: grid; gap: 1rem; }
.tda-auth-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.tda-auth-fields .is-full { grid-column: 1 / -1; }
.tda-auth-form label:not(.tda-auth-check) { display: grid; gap: .45rem; color: #30364a; font-size: .78rem; font-weight: 760; }
.tda-auth-form label small { display: block; min-height: 1.05rem; color: #7a8298; font-size: .68rem; font-weight: 500; line-height: 1.45; }
.tda-auth-form input:not([type="checkbox"]), .tda-auth-form select { box-sizing: border-box; width: 100%; min-height: 52px; padding: .8rem .95rem; border: 1px solid rgba(45,55,95,.16); border-radius: 14px; outline: none; background: #fff; color: var(--tda-color-text); font: inherit; font-size: .9rem; font-weight: 520; transition: border-color .16s ease,box-shadow .16s ease; }
.tda-auth-form input:focus, .tda-auth-form select:focus { border-color: rgba(109,74,255,.65); box-shadow: 0 0 0 4px rgba(109,74,255,.11); }
.tda-auth-password { position: relative; display: block; }
.tda-auth-password input { padding-right: 4rem !important; }
.tda-auth-password button { position: absolute; top: 50%; right: .75rem; transform: translateY(-50%); border: 0; background: transparent; color: var(--tda-color-primary-strong); font-size: .72rem; font-weight: 800; cursor: pointer; }
.tda-auth-form__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tda-auth-form a, .tda-auth-switch a, .tda-auth-check a { color: var(--tda-color-primary-strong); font-weight: 760; text-decoration: none; }
.tda-auth-check { display: flex; align-items: flex-start; gap: .65rem; color: #5e667d; font-size: .76rem; font-weight: 550; line-height: 1.5; cursor: pointer; }
.tda-auth-check input { flex: 0 0 auto; width: 17px; height: 17px; margin: .15rem 0 0; accent-color: var(--tda-color-primary); }
.tda-auth-check--block { padding: .2rem 0; }
.tda-auth-submit { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; margin-top: .25rem; padding: .85rem 1.2rem; border: 0; border-radius: 14px; background: var(--tda-gradient-brand); box-shadow: 0 16px 34px rgba(109,74,255,.23); color: #fff; font-size: .92rem; font-weight: 850; text-align: center; text-decoration: none; cursor: pointer; }
.tda-auth-submit:hover { transform: translateY(-1px); box-shadow: 0 20px 38px rgba(109,74,255,.28); }
.tda-auth-switch { margin: 1.3rem 0 0; color: #737b91; font-size: .8rem; text-align: center; }
.tda-auth-legal { margin: 0; color: #858ca0; font-size: .66rem; line-height: 1.55; text-align: center; }
.tda-auth-notice { margin: 0 0 1rem; padding: 1rem; border-radius: 14px; font-size: .78rem; }
.tda-auth-notice strong { display: block; margin-bottom: .25rem; }
.tda-auth-notice ul,.tda-auth-notice p { margin: .25rem 0 0; padding-left: 1.1rem; }
.tda-auth-notice--error { border: 1px solid rgba(189,52,75,.2); background: var(--tda-color-danger-soft); color: #8b2639; }
.tda-auth-notice--success { border: 1px solid rgba(19,138,97,.2); background: var(--tda-color-success-soft); color: #106848; }
.tda-auth-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tda-auth-footer { display: flex; justify-content: space-between; gap: 2rem; width: min(calc(100% - 48px),1280px); margin-inline: auto; padding: 1.3rem 0; color: #7b8398; font-size: .7rem; }
@media (max-width: 980px) { .tda-auth-grid,.tda-auth-main--register .tda-auth-grid { grid-template-columns: 1fr; } .tda-auth-story { min-height: auto; padding: 3rem; } .tda-auth-story h1,.tda-auth-main--register .tda-auth-story h1 { max-width: 720px; font-size: clamp(2.7rem,9vw,4.8rem); } }
@media (max-width: 680px) { .tda-auth-header,.tda-auth-main,.tda-auth-footer { width: min(calc(100% - 28px),1280px); } .tda-auth-header { min-height: 72px; } .tda-auth-back { font-size: 0; } .tda-auth-back::after { content: "← Inicio"; font-size: .76rem; } .tda-auth-main { padding: .7rem 0 2rem; } .tda-auth-grid { border-radius: 24px; } .tda-auth-story,.tda-auth-panel { padding: 2rem 1.3rem; } .tda-auth-story h1,.tda-auth-main--register .tda-auth-story h1 { font-size: clamp(2.45rem,13vw,3.65rem); } .tda-auth-fields { grid-template-columns: 1fr; } .tda-auth-fields .is-full { grid-column: auto; } .tda-auth-form__row { align-items: flex-start; flex-direction: column; } .tda-auth-footer { flex-direction: column; gap: .4rem; } }
@media (prefers-reduced-motion: reduce) { .tda-auth-submit { transition: none; } .tda-auth-submit:hover { transform: none; } }

/* Registration field alignment v0.4.2. */
.tda-auth-fields > label { align-self: start; min-width: 0; }
.tda-auth-form select { appearance: auto; }
.tda-auth-form input[data-tda-whatsapp] { font-variant-numeric: tabular-nums; }


/* 0.4.9 — prioritize authentication form on tablet and mobile */
@media (max-width: 980px) {
	.tda-auth-main--login {
		align-items: start;
		min-height: auto;
		padding-top: 1.25rem;
	}
	.tda-auth-main--login .tda-auth-grid {
		grid-template-columns: minmax(0, 1fr);
		width: min(100%, 760px);
		margin-inline: auto;
		border-radius: 30px;
	}
	.tda-auth-main--login .tda-auth-story {
		display: none;
	}
	.tda-auth-main--login .tda-auth-panel {
		min-height: auto;
		padding: clamp(2.5rem, 7vw, 4.25rem);
		background:
			radial-gradient(circle at 92% 4%, rgba(24,189,232,.08), transparent 28%),
			radial-gradient(circle at 6% 96%, rgba(109,74,255,.07), transparent 30%),
			rgba(255,255,255,.94);
	}
	.tda-auth-main--login .tda-auth-panel__heading {
		max-width: 620px;
	}
}

@media (max-width: 680px) {
	.tda-auth-main--login { padding-top: .65rem; }
	.tda-auth-main--login .tda-auth-grid {
		border-radius: 24px;
		box-shadow: 0 22px 60px rgba(34,43,89,.11);
	}
	.tda-auth-main--login .tda-auth-panel {
		padding: 2.15rem 1.35rem;
	}
	.tda-auth-main--login .tda-auth-panel__heading h2 {
		font-size: clamp(2rem, 10vw, 2.75rem);
	}
	.tda-auth-main--login .tda-auth-form__row {
		gap: .8rem;
	}
}


/* 0.4.12 — prioritize registration form on tablet and hide banner on mobile */
@media (max-width: 980px) {
	.tda-auth-main--register {
		align-items: start;
		min-height: auto;
		padding-top: 1.1rem;
	}
	.tda-auth-main--register .tda-auth-grid {
		grid-template-columns: minmax(0, 1fr);
		width: min(100%, 860px);
		margin-inline: auto;
		border-radius: 30px;
	}
	.tda-auth-main--register .tda-auth-panel {
		order: 1;
		padding: clamp(2.2rem, 5vw, 3.5rem);
		background:
			radial-gradient(circle at 92% 4%, rgba(24,189,232,.08), transparent 28%),
			radial-gradient(circle at 6% 96%, rgba(109,74,255,.07), transparent 30%),
			rgba(255,255,255,.94);
	}
	.tda-auth-main--register .tda-auth-story {
		order: 2;
		min-height: auto;
		padding: 2rem 2.2rem 2.15rem;
	}
	.tda-auth-main--register .tda-auth-story::before {
		inset: 12%;
		border-radius: 24px;
		opacity: .55;
	}
	.tda-auth-main--register .tda-auth-story h1 {
		max-width: 12ch;
		margin: .65rem 0 1rem;
		font-size: clamp(2.2rem, 6vw, 3.4rem);
		line-height: .98;
	}
	.tda-auth-main--register .tda-auth-story > p {
		max-width: 50ch;
		font-size: .98rem;
		line-height: 1.62;
	}
	.tda-auth-main--register .tda-auth-benefits {
		margin-top: 1.5rem;
		gap: .55rem;
		font-size: .84rem;
	}
	.tda-auth-main--register .tda-auth-panel__heading p {
		margin-bottom: 1.35rem;
	}
}

@media (max-width: 680px) {
	.tda-auth-main--register {
		padding-top: .65rem;
	}
	.tda-auth-main--register .tda-auth-grid {
		border-radius: 24px;
		box-shadow: 0 22px 60px rgba(34,43,89,.11);
	}
	.tda-auth-main--register .tda-auth-story {
		display: none;
	}
	.tda-auth-main--register .tda-auth-panel {
		padding: 2.05rem 1.35rem;
	}
	.tda-auth-main--register .tda-auth-panel__heading h2 {
		font-size: clamp(2rem, 10vw, 2.8rem);
	}
	.tda-auth-main--register .tda-auth-panel__heading p {
		margin-bottom: 1.15rem;
	}
}

/* LEGION ACADEMY branding v0.4.13. */
.tda-auth-brand .tda-brand-logo { display:block; width:auto; height:auto; object-fit:contain; }
.tda-brand-logo--auth { width: 190px; }
.tda-auth-brand { min-width: 190px; }
.tda-auth-story__brandmark {
	display:grid !important;
	place-items:center;
	width:52px !important;
	height:52px !important;
	padding:8px;
	box-sizing:border-box;
	border:1px solid rgba(255,255,255,.16);
	border-radius:16px !important;
	background:rgba(255,255,255,.08) !important;
	box-shadow:0 16px 32px rgba(5,10,35,.2);
}
.tda-auth-story__brandmark img { display:block; width:100%; height:100%; object-fit:contain; }
.tda-auth-header {
	border-bottom:1px solid rgba(42,54,95,.08);
}
.tda-auth-shell {
	background:
		radial-gradient(circle at 8% 2%, rgba(90,91,241,.07), transparent 26rem),
		radial-gradient(circle at 92% 4%, rgba(36,183,239,.065), transparent 24rem),
		#f7f9ff;
}
@media (max-width:680px) {
	.tda-brand-logo--auth { width: 156px; }
	.tda-auth-brand { min-width: 156px; }
}
