/**
 * Kaapia auth screens — software-style login / signup.
 */

/* Full-page chrome when shortcode is the page content */
body.kaapia-is-auth {
	background: #fff;
}

body.kaapia-is-auth .site,
body.kaapia-is-auth .site-content,
body.kaapia-is-auth .site-main--auth,
body.kaapia-is-auth .site-main--auth > *:not(.kaapia-auth) {
	margin: 0;
	padding: 0;
	max-width: none;
	width: 100%;
}

body.kaapia-is-auth .site-main--auth p:empty {
	display: none;
}

body.kaapia-is-auth #page,
body.kaapia-is-auth #content {
	min-height: 100vh;
	min-height: 100dvh;
}

.kaapia-auth--split {
	display: grid;
	grid-template-columns: minmax(280px, 44%) minmax(0, 1fr);
	min-height: 100vh;
	min-height: 100dvh;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

/* Brand column */
.kaapia-auth__brand {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 2.75rem 3rem 2rem;
	color: #fff;
	background:
		radial-gradient(1200px 600px at -10% -20%, rgba(0, 212, 200, 0.28), transparent 55%),
		radial-gradient(900px 500px at 110% 110%, rgba(139, 61, 255, 0.45), transparent 50%),
		linear-gradient(160deg, #071033 0%, #0b1648 42%, #1a0b4a 100%);
	overflow: hidden;
}

@media (min-width: 961px) {
	.kaapia-auth__brand {
		position: sticky;
		top: 0;
		height: 100vh;
		height: 100dvh;
	}
}

.kaapia-auth__brand-glow {
	position: absolute;
	inset: auto -20% -30% 20%;
	height: 55%;
	background: radial-gradient(circle, rgba(47, 107, 255, 0.35), transparent 68%);
	pointer-events: none;
}

.kaapia-auth__brand-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 88%);
	pointer-events: none;
}

.kaapia-auth__brand-inner {
	position: relative;
	z-index: 1;
	max-width: 440px;
}

.kaapia-auth__logo {
	display: inline-flex;
	align-items: center;
	margin-bottom: 3.25rem;
	text-decoration: none;
	color: #fff;
	font-weight: 700;
	font-size: 1.35rem;
}

.kaapia-auth__logo img {
	display: block;
	height: 44px;
	width: auto;
}

.kaapia-auth__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #00d4c8;
}

.kaapia-auth__brand-title {
	margin: 0 0 0.85rem;
	font-size: clamp(2rem, 3.2vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: #fff;
}

.kaapia-auth__brand-lede {
	margin: 0 0 2rem;
	font-size: 1.02rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
	max-width: 38ch;
}

.kaapia-auth__points {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.kaapia-auth__points li {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	font-size: 0.95rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.9);
}

.kaapia-auth__point-icon {
	flex-shrink: 0;
	margin-top: 0.05rem;
}

.kaapia-auth__brand-foot {
	position: relative;
	z-index: 1;
	margin: 2.5rem 0 0;
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.45);
}

/* Form column */
.kaapia-auth__panel {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2.5rem 2rem;
	background: #f7f8fc;
}

.kaapia-auth--register .kaapia-auth__panel,
.kaapia-auth--instructor .kaapia-auth__panel {
	align-items: flex-start;
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.kaapia-auth__panel-inner {
	width: 100%;
	max-width: 660px;
}

.kaapia-auth--instructor .kaapia-auth__panel-inner {
	max-width: 720px;
}

.kaapia-auth__home {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0 0 1.35rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: #5a6478;
	text-decoration: none;
}

.kaapia-auth__home::before {
	content: "";
	width: 0.45rem;
	height: 0.45rem;
	border-left: 1.6px solid currentColor;
	border-bottom: 1.6px solid currentColor;
	transform: rotate(45deg);
}

.kaapia-auth__home:hover {
	color: #0b1648;
}

.kaapia-auth__card {
	background: #fff;
	border: 1px solid #e8ecf3;
	border-radius: 20px;
	padding: 2rem 1.85rem 1.75rem;
	box-shadow: 0 18px 50px rgba(11, 22, 72, 0.07);
}

.kaapia-auth__kicker {
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #2f6bff;
}

.kaapia-auth__title {
	margin: 0 0 0.4rem;
	font-size: 1.65rem;
	font-weight: 700;
	color: #0b1648;
	letter-spacing: -0.03em;
}

.kaapia-auth__lead,
.kaapia-auth__text {
	margin: 0 0 1.45rem;
	font-size: 0.95rem;
	color: #5a6478;
	line-height: 1.5;
}

.kaapia-auth__notice {
	margin: 0 0 1rem;
	padding: 0.8rem 1rem;
	border-radius: 12px;
	font-size: 0.9rem;
	font-weight: 500;
}

.kaapia-auth__notice--error {
	background: #fef2f2;
	color: #b42318;
	border: 1px solid #fecaca;
}

.kaapia-auth__notice--success {
	background: #ecfdf5;
	color: #0f766e;
	border: 1px solid #a7f3d0;
}

.kaapia-auth__notice--info {
	background: #eff6ff;
	color: #1d4ed8;
	border: 1px solid #bfdbfe;
}

.kaapia-auth__form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.kaapia-auth__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
}

.kaapia-auth__field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.kaapia-auth__field label {
	font-size: 0.82rem;
	font-weight: 600;
	color: #0b1648;
}

.kaapia-auth__field input[type="text"]:not(.kaapia-otp__input),
.kaapia-auth__field input[type="email"],
.kaapia-auth__field input[type="password"],
.kaapia-auth__field input[type="tel"],
.kaapia-auth__field input[type="url"],
.kaapia-auth__field textarea {
	width: 100%;
	padding: 0.78rem 0.9rem;
	border: 1px solid #dbe1ea;
	border-radius: 12px;
	font: inherit;
	font-size: 0.95rem;
	color: #0b1648;
	background: #fbfcfe;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.kaapia-auth__field textarea {
	min-height: 8rem;
	resize: vertical;
	line-height: 1.5;
}

.kaapia-auth__field input::placeholder,
.kaapia-auth__field textarea::placeholder {
	color: #9aa3b5;
}

.kaapia-auth__field input.is-invalid {
	border-color: #f04438;
	box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.12);
	background: #fff;
}

.kaapia-auth__field-error {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 500;
	color: #b42318;
}

.kaapia-auth__password {
	position: relative;
}

.kaapia-auth__password input {
	padding-right: 2.85rem;
}

.kaapia-auth__toggle-pass {
	position: absolute;
	top: 50%;
	right: 0.35rem;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #6b7280;
	cursor: pointer;
}

.kaapia-auth__toggle-pass:hover {
	color: #6a2dff;
	background: rgba(106, 45, 255, 0.06);
}

.kaapia-auth__toggle-pass:focus-visible {
	outline: 2px solid #6a2dff;
	outline-offset: 1px;
}

.kaapia-auth__toggle-pass-icon {
	display: inline-flex;
	line-height: 0;
}

.kaapia-auth__toggle-pass-icon[hidden] {
	display: none !important;
}

.kaapia-auth__field input:not(.kaapia-otp__input):focus,
.kaapia-auth__field textarea:focus {
	outline: none;
	border-color: #6a2dff;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(106, 45, 255, 0.14);
}

.kaapia-auth__hint {
	font-size: 0.78rem;
	color: #8b95a8;
}

.kaapia-auth__field--phone {
	position: relative;
}

.kaapia-phone {
	position: relative;
}

.kaapia-phone__combo {
	display: flex;
	align-items: stretch;
	width: 100%;
	min-height: 48px;
	border: 1px solid #dbe1ea;
	border-radius: 12px;
	background: #fbfcfe;
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.kaapia-phone__combo:hover {
	border-color: #c5cdd8;
	background: #fff;
}

.kaapia-phone.is-open .kaapia-phone__combo,
.kaapia-phone__combo:focus-within {
	border-color: #6a2dff;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(106, 45, 255, 0.14);
}

.kaapia-phone__native {
	max-width: 46%;
	min-width: 7.5rem;
	margin: 0;
	padding: 0.72rem 0.7rem;
	border: 0;
	border-right: 1px solid #e6ebf3;
	border-radius: 0;
	background: transparent;
	color: #0b1648;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
}

.kaapia-phone.is-ready .kaapia-phone__native {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	pointer-events: none;
}

.kaapia-phone__trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	flex: 0 0 auto;
	margin: 0;
	padding: 0 0.8rem 0 0.85rem;
	border: 0;
	border-right: 1px solid #e6ebf3;
	background: linear-gradient(180deg, #f8fafc 0%, #f3f6fb 100%);
	color: #0b1648;
	cursor: pointer;
	white-space: nowrap;
}

.kaapia-phone__trigger[hidden] {
	display: none !important;
}

.kaapia-phone__trigger:hover {
	background: #eef2fb;
}

.kaapia-phone__flag {
	font-size: 1.15rem;
	line-height: 1;
}

.kaapia-phone__dial {
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #0b1648;
}

.kaapia-phone__chevron {
	display: inline-flex;
	color: #7b8598;
	transition: transform 0.16s ease;
}

.kaapia-phone.is-open .kaapia-phone__chevron {
	transform: rotate(180deg);
}

.kaapia-auth__field .kaapia-phone__national,
.kaapia-phone__national {
	flex: 1 1 auto;
	min-width: 0;
	width: auto !important;
	margin: 0;
	padding: 0.78rem 0.95rem !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font: inherit;
	font-size: 0.95rem;
	color: #0b1648;
}

.kaapia-auth__field .kaapia-phone__national:focus {
	outline: none;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

.kaapia-phone__panel {
	position: absolute;
	top: calc(100% + 0.4rem);
	left: 0;
	right: 0;
	z-index: 20;
	display: none;
	flex-direction: column;
	max-height: min(22rem, 70vh);
	padding: 0.55rem;
	border: 1px solid #e4e9f2;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(11, 22, 72, 0.16);
}

.kaapia-phone__panel[hidden] {
	display: none !important;
}

.kaapia-phone.is-open .kaapia-phone__panel {
	display: flex;
}

.kaapia-phone__search {
	position: relative;
	flex: 0 0 auto;
	margin: 0 0 0.4rem;
}

.kaapia-phone__search-icon {
	position: absolute;
	top: 50%;
	left: 0.75rem;
	transform: translateY(-50%);
	color: #8b95a8;
	pointer-events: none;
}

.kaapia-phone__search-input {
	width: 100%;
	padding: 0.62rem 0.8rem 0.62rem 2.15rem;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #f8fafc;
	font: inherit;
	font-size: 0.88rem;
	color: #0b1648;
}

.kaapia-phone__search-input:focus {
	outline: none;
	border-color: #6a2dff;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(106, 45, 255, 0.12);
}

.kaapia-phone__list {
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.kaapia-phone__option {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.55rem 0.65rem;
	border-radius: 10px;
	cursor: pointer;
}

.kaapia-phone__option[hidden] {
	display: none !important;
}

.kaapia-phone__option:hover,
.kaapia-phone__option:focus {
	background: #f4f6fb;
	outline: none;
}

.kaapia-phone__option.is-selected {
	background: rgba(106, 45, 255, 0.08);
}

.kaapia-phone__option-flag {
	flex: 0 0 auto;
	width: 1.4rem;
	font-size: 1.15rem;
	line-height: 1;
	text-align: center;
}

.kaapia-phone__option-name {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 0.88rem;
	font-weight: 600;
	color: #0b1648;
}

.kaapia-phone__option-dial {
	flex: 0 0 auto;
	font-size: 0.8rem;
	font-weight: 600;
	color: #6b7487;
}

.kaapia-phone__empty {
	margin: 0.35rem 0 0.2rem;
	padding: 0.7rem 0.5rem;
	text-align: center;
	font-size: 0.82rem;
	color: #8b95a8;
}

.kaapia-phone__empty[hidden] {
	display: none !important;
}

.kaapia-auth__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
	font-size: 0.875rem;
}

.kaapia-auth__check {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.875rem;
	color: #3d4656;
	cursor: pointer;
}

.kaapia-auth__check input {
	width: 1rem;
	height: 1rem;
	accent-color: #6a2dff;
}

.kaapia-auth__submit {
	width: 100%;
	justify-content: center;
	margin-top: 0.35rem;
	padding: 0.88rem 1rem;
	border-radius: 12px !important;
	background: var(--kaapia-btn-gradient, linear-gradient(135deg, #2f6bff 0%, #8b3dff 100%)) !important;
	border: 0 !important;
	font-weight: 600;
	box-shadow: 0 10px 22px rgba(47, 107, 255, 0.28);
}

.kaapia-auth__submit:hover {
	filter: brightness(1.04);
	transform: translateY(-1px);
}

.kaapia-auth__footer {
	margin: 1.35rem 0 0;
	text-align: center;
	font-size: 0.9rem;
	color: #5a6478;
}

.kaapia-auth__link {
	color: #6a2dff;
	font-size: inherit;
	font-weight: 600;
	text-decoration: none;
}

.kaapia-auth__link:hover {
	text-decoration: underline;
}

.kaapia-auth__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.kaapia-auth__honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.kaapia-auth__card--2fa {
	text-align: center;
	padding-top: 2.15rem;
}

.kaapia-auth__card--2fa .kaapia-auth__title {
	font-size: 1.7rem;
}

.kaapia-auth__card--2fa .kaapia-auth__lead {
	margin: 0 auto 0.7rem;
	text-align: center;
	white-space: normal;
	max-width: 26rem;
}

.kaapia-auth__dest {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.35rem 0.45rem;
	margin: 0 auto 1.45rem;
	padding: 0.42rem 0.85rem;
	border-radius: 999px;
	background: #f5f7fb;
	border: 1px solid #e6ebf2;
	color: #0b1648;
	font-size: 0.9rem;
}

.kaapia-auth__dest-and {
	font-weight: 500;
	color: #8b95a8;
}

.kaapia-auth__steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin: 0 0 1.35rem;
	padding: 0;
	list-style: none;
}

.kaapia-auth__step {
	display: flex;
	align-items: center;
	gap: 0.42rem;
	color: #8b95a8;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.kaapia-auth__step:first-child::after {
	content: "";
	width: 36px;
	height: 2px;
	margin: 0 0.7rem;
	border-radius: 99px;
	background: linear-gradient(90deg, #00c9be, #6a2dff);
}

.kaapia-auth__step-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #e8ecf3;
	color: #5a6478;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0;
}

.kaapia-auth__step.is-done,
.kaapia-auth__step.is-current {
	color: #0b1648;
}

.kaapia-auth__step.is-done .kaapia-auth__step-mark {
	background: #00c9be;
	color: #0b1648;
}

.kaapia-auth__step.is-current .kaapia-auth__step-mark {
	background: #6a2dff;
	color: #fff;
}

.kaapia-auth__card--verify .kaapia-auth__icon {
	width: 64px;
	height: 64px;
	border-radius: 20px;
	margin-bottom: 1.15rem;
	color: #6a2dff;
	background:
		radial-gradient(circle at 30% 20%, rgba(0, 201, 190, 0.22), transparent 55%),
		linear-gradient(180deg, rgba(106, 45, 255, 0.16), rgba(47, 107, 255, 0.08));
	box-shadow:
		inset 0 0 0 1px rgba(106, 45, 255, 0.14),
		0 10px 24px rgba(47, 107, 255, 0.12);
}

.kaapia-auth__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 1rem;
	border-radius: 16px;
	color: #6a2dff;
	background: linear-gradient(180deg, rgba(106, 45, 255, 0.12), rgba(47, 107, 255, 0.08));
	box-shadow: inset 0 0 0 1px rgba(106, 45, 255, 0.12);
}

.kaapia-auth__email-mask {
	display: inline;
	color: #0b1648;
	font-weight: 700;
	white-space: nowrap;
}

.kaapia-otp-field {
	align-items: center;
}

.kaapia-otp__label {
	width: 100%;
	text-align: center;
	font-size: 0.78rem !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #5a6478 !important;
}

.kaapia-otp {
	position: relative;
	width: 100%;
}

.kaapia-otp__boxes {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 0.42rem;
	pointer-events: none;
}

.kaapia-otp__sep {
	flex: 0 0 10px;
	align-self: center;
	height: 2px;
	border-radius: 2px;
	background: #c5cde0;
}

.kaapia-otp__box {
	flex: 1 1 0;
	max-width: 52px;
	min-width: 0;
	min-height: 58px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid #dbe1ea;
	border-radius: 14px;
	background: #f7f8fc;
	color: #0b1648;
	font-size: 1.45rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.kaapia-otp__box.is-filled {
	background: #fff;
	border-color: #b9c4ff;
}

.kaapia-otp__box.is-active {
	background: #fff;
	border-color: #6a2dff;
	box-shadow: 0 0 0 4px rgba(106, 45, 255, 0.16);
	transform: translateY(-1px);
}

.kaapia-otp.is-invalid .kaapia-otp__box {
	border-color: #f04438;
	box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.12);
	animation: kaapia-otp-shake 0.38s ease;
}

.kaapia-otp__input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	opacity: 0;
	border: 0;
	background: transparent;
	color: transparent;
	caret-color: transparent;
	font-size: 16px;
	letter-spacing: 2.2em;
	z-index: 2;
	cursor: text;
}

.kaapia-otp__hint {
	margin: 0.7rem 0 0;
	font-size: 0.78rem;
	line-height: 1.45;
	color: #8b95a8;
	text-align: center;
}

@keyframes kaapia-otp-shake {
	0%,
	100% {
		transform: translateX(0);
	}
	25% {
		transform: translateX(-4px);
	}
	75% {
		transform: translateX(4px);
	}
}

.kaapia-auth__2fa-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	margin-top: 1.25rem;
	padding-top: 1.15rem;
	border-top: 1px solid #eef1f6;
	text-align: center;
}

.kaapia-auth__2fa-resend,
.kaapia-auth__inline-form {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.35rem 0.45rem;
	margin: 0;
	font-size: 0.875rem;
	color: #5a6478;
}

.kaapia-auth__text-btn {
	padding: 0;
	border: 0;
	background: none;
	color: #6a2dff;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
}

.kaapia-auth__text-btn:hover {
	text-decoration: underline;
}

.kaapia-auth__text-btn--muted {
	color: #8b95a8;
	font-weight: 500;
}

.kaapia-auth__secure {
	margin: 1.1rem 0 0;
	font-size: 0.75rem;
	line-height: 1.45;
	color: #94a3b8;
}

@media (max-width: 960px) {
	.kaapia-auth--split {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.kaapia-auth__brand {
		min-height: auto;
		padding: 1.5rem 1.35rem 1.35rem;
	}

	.kaapia-auth__logo {
		margin-bottom: 1.25rem;
	}

	.kaapia-auth__logo img {
		height: 36px;
	}

	.kaapia-auth__brand-title {
		font-size: 1.7rem;
	}

	.kaapia-auth__brand-lede {
		margin-bottom: 1.15rem;
		font-size: 0.92rem;
	}

	.kaapia-auth__points {
		gap: 0.55rem;
	}

	.kaapia-auth__points li {
		font-size: 0.88rem;
	}

	.kaapia-auth__brand-foot {
		display: none;
	}

	.kaapia-auth__panel,
	.kaapia-auth--register .kaapia-auth__panel,
	.kaapia-auth--instructor .kaapia-auth__panel {
		align-items: flex-start;
		padding: 1.25rem 1rem 2.5rem;
	}

	.kaapia-auth__card {
		padding: 1.5rem 1.15rem 1.25rem;
		border-radius: 16px;
	}

	.kaapia-otp__box {
		min-height: 48px;
		font-size: 1.2rem;
		border-radius: 10px;
	}

	.kaapia-otp__sep {
		flex-basis: 6px;
	}
}

@media (max-width: 520px) {
	.kaapia-auth__grid {
		grid-template-columns: 1fr;
	}

	.kaapia-auth__points {
		display: none;
	}

	.kaapia-auth__brand-lede {
		margin-bottom: 0;
	}
}

/* Original LDMV instructor fields, nested in the auth card */
.kaapia-auth--instructor .kaapia-auth__card {
	padding: 2.1rem 2rem 1.85rem;
}

.kaapia-auth--instructor .kaapia-auth__kicker {
	margin-bottom: 1.35rem;
}

.kaapia-auth--instructor .ldmv-registration {
	--ldmv-primary: #6a2dff;
	--ldmv-primary-hover: #5b22e6;
	--ldmv-primary-soft: rgba(106, 45, 255, 0.08);
	--ldmv-icon-color: #6b7280;
	--ldmv-border: #eef1f6;
	--ldmv-border-strong: #dbe1ea;
	--ldmv-bg: #fbfcfe;
	--ldmv-text: #0b1648;
	--ldmv-muted: #5a6478;
	--ldmv-radius: 12px;
	--ldmv-shadow: none;
	max-width: none;
	margin: 0;
}

.kaapia-auth--instructor .ldmv-registration-form {
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
}

.kaapia-auth--instructor .ldmv-form-section {
	position: relative;
	margin: 0 0 1.15rem;
	padding: 0 0 1.15rem;
	border: 0;
	border-bottom: 1px solid #eef1f6;
}

.kaapia-auth--instructor .ldmv-form-section:last-of-type {
	margin-bottom: 0.15rem;
	padding-bottom: 0;
	border-bottom: 0;
}

.kaapia-auth--instructor .ldmv-form-section legend {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.kaapia-auth--instructor .ldmv-form-row {
	gap: 0.85rem;
	margin-bottom: 0.85rem;
}

.kaapia-auth--instructor .ldmv-form-group {
	gap: 0.4rem;
}

.kaapia-auth--instructor .ldmv-form-group label {
	font-size: 0.82rem;
	font-weight: 600;
	color: #0b1648;
}

.kaapia-auth--instructor .ldmv-form-group .required {
	color: #e11d48;
	font-weight: 600;
}

.kaapia-auth--instructor .ldmv-field-icon {
	display: none !important;
}

.kaapia-auth--instructor .ldmv-field {
	min-height: 48px;
	background: #fbfcfe;
	border: 1px solid #dbe1ea;
	border-radius: 12px;
}

.kaapia-auth--instructor .ldmv-field:hover {
	border-color: #c5cdd8;
	background: #fff;
}

.kaapia-auth--instructor .ldmv-field input[type="text"],
.kaapia-auth--instructor .ldmv-field input[type="email"],
.kaapia-auth--instructor .ldmv-field input[type="tel"],
.kaapia-auth--instructor .ldmv-field input[type="url"],
.kaapia-auth--instructor .ldmv-field input[type="password"],
.kaapia-auth--instructor .ldmv-field select,
.kaapia-auth--instructor .ldmv-field textarea,
.kaapia-auth--instructor .ldmv-country-picker__select,
.kaapia-auth--instructor .ldmv-country-picker__trigger {
	padding-left: 0.9rem;
	padding-right: 0.9rem;
	font-size: 0.95rem;
	border-radius: 12px;
}

.kaapia-auth--instructor .ldmv-country-picker__select,
.kaapia-auth--instructor .ldmv-country-picker__trigger {
	padding-right: 2.4rem;
}

.kaapia-auth--instructor .ldmv-field:focus-within {
	border-color: #6a2dff;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(106, 45, 255, 0.14);
}

.kaapia-auth--instructor .ldmv-field-hint {
	font-size: 0.78rem;
	color: #8a93a6;
}

.kaapia-auth--instructor .ldmv-file-upload {
	align-items: stretch;
	padding: 1rem 1.05rem;
	border: 1px dashed #d5dce8;
	background: #fbfcfe;
}

.kaapia-auth--instructor .ldmv-file-upload:hover {
	border-color: #6a2dff;
	background: rgba(106, 45, 255, 0.04);
}

.kaapia-auth--instructor .ldmv-file-upload input[type="file"] {
	font: inherit;
	font-size: 0.88rem;
	color: #0b1648;
}

.kaapia-auth--instructor .ldmv-form-actions {
	margin-top: 1.15rem;
	padding-top: 1.15rem;
	border-top: 1px solid #eef1f6;
	justify-content: stretch;
}

.kaapia-auth--instructor .ldmv-btn-primary,
.kaapia-auth--instructor .ldmv-registration-form .ldmv-btn-primary,
.kaapia-auth--instructor .ldmv-registration-form #ldmv-submit-btn {
	width: 100%;
	min-width: 0;
	justify-content: center;
	padding: 0.88rem 1rem;
	border: 0;
	border-radius: 12px;
	background: var(--kaapia-btn-gradient, linear-gradient(135deg, #2f6bff 0%, #8b3dff 100%));
	background-color: transparent;
	font-weight: 600;
	box-shadow: 0 10px 22px rgba(47, 107, 255, 0.28);
}

.kaapia-auth--instructor .ldmv-btn-primary:hover,
.kaapia-auth--instructor .ldmv-registration-form .ldmv-btn-primary:hover,
.kaapia-auth--instructor .ldmv-registration-form #ldmv-submit-btn:hover {
	filter: brightness(1.04);
	transform: translateY(-1px);
	background: var(--kaapia-btn-gradient, linear-gradient(135deg, #2f6bff 0%, #8b3dff 100%));
}

.kaapia-auth--instructor .ldmv-notice {
	margin-bottom: 1rem;
	border-radius: 12px;
}

.kaapia-auth--instructor .kaapia-auth__footer {
	margin-top: 1.5rem;
}
