/* ── My Account Login Page ─────────────────────────────────────────────────── */

body.jtf-myaccount-login-page #wrapper-navbar,
body.jtf-myaccount-login-page #wrapper-footer-full,
body.jtf-myaccount-login-page #wrapper-footer,
body.jtf-myaccount-login-page .breadcrumbs,
body.jtf-myaccount-login-page .section-title.my-account-title,
body.jtf-myaccount-login-page .yoast-breadcrumbs {
	display: none !important;
}

body.jtf-myaccount-login-page #page {
	background: #0C1E38;
}

body.jtf-myaccount-login-page .section-my-account {
	padding: 0;
	min-height: 100vh;
}

body.jtf-myaccount-login-page .section-my-account #content,
body.jtf-myaccount-login-page .section-my-account .container {
	padding: 0;
	max-width: 100%;
	width: 100%;
}

body.jtf-myaccount-login-page .section-my-account article {
	margin: 0;
}

body.jtf-myaccount-login-page .section-my-account .entry-content {
	margin: 0;
}

body.jtf-myaccount-login-page .woocommerce-notices-wrapper {
	position: fixed;
	top: 16px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9999;
	width: 90%;
	max-width: 480px;
}

/* ── Split layout ───────────────────────────────────────────────────────────── */

.jtf-login-split {
	display: flex;
	min-height: 100vh;
}

/* ── Left panel ─────────────────────────────────────────────────────────────── */

.jtf-login-left {
	flex: 0 0 50%;
	background: #0C1E38;
	display: flex;
	align-items: stretch;
	min-height: 100vh;
}

.jtf-login-left-inner {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 48px 48px 32px;
	max-width: 560px;
	margin: 0 auto;
}

/* ── Logo ───────────────────────────────────────────────────────────────────── */

.jtf-login-logo-link {
	display: inline-block;
	margin-bottom: 48px;
	flex-shrink: 0;
}

.jtf-login-logo-link img {
	width: 56px;
	height: 56px;
}

/* ── Form wrap ──────────────────────────────────────────────────────────────── */

.jtf-login-form-wrap {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* ── Heading ────────────────────────────────────────────────────────────────── */

.jtf-login-title {
	font-size: 30px !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	margin: 0 0 8px !important;
	padding: 0 !important;
	line-height: 1.25 !important;
	border: none !important;
}

.jtf-login-subtitle {
	font-size: 15px;
	color: #94a3b8;
	margin: 0 0 24px;
	line-height: 1.5;
}

/* ── White form card ─────────────────────────────────────────────────────────── */

.jtf-login-form-card {
	background: #ffffff;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 20px;
}

.jtf-login-form-card form.woocommerce-form-login {
	border: none !important;
	padding: 0 !important;
	border-radius: 0 !important;
	margin: 1em !important;
}

/* ── Form fields ─────────────────────────────────────────────────────────────── */

.jtf-login-split .jtf-form-group {
	margin-bottom: 20px;
}

.jtf-login-split .jtf-form-group > label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: #344054;
	margin-bottom: 6px;
}

.jtf-login-split .woocommerce-Input--text {
	width: 100% !important;
	box-sizing: border-box !important;
	padding: 10px 14px !important;
	border: 1.5px solid #d0d5dd !important;
	border-radius: 8px !important;
	font-size: 16px !important;
	color: #101828 !important;
	background: #ffffff !important;
	outline: none !important;
	min-height: auto !important;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05) !important;
	transition: border-color 0.2s, box-shadow 0.2s !important;
}

.jtf-login-split .woocommerce-Input--text:focus {
	border-color: #fd5323 !important;
	box-shadow: 0 0 0 3px rgba(253, 83, 35, 0.15) !important;
}

.jtf-login-split .woocommerce-Input--text::placeholder {
	color: #9ca3af;
}

/* ── Field error messages ────────────────────────────────────────────────────── */

.jtf-field-error {
	display: block;
	font-size: 13px;
	color: #f04438;
	margin-top: 5px;
	min-height: 0;
}

.jtf-login-split .woocommerce-Input--text.jtf-input-error {
	border-color: #f04438 !important;
	box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.15) !important;
}

/* ── Remember + Forgot row ─────────────────────────────────────────────────── */

.jtf-login-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.jtf-login-remember {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 14px;
	color: #344054;  /* dark — inside white card */
}

.jtf-login-remember input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: #fd5323;
	cursor: pointer;
}

.jtf-login-forgot {
	font-size: 14px;
	font-weight: 500;
	color: #fd5323;
	text-decoration: none;
	transition: color 0.2s;
}

.jtf-login-forgot:hover {
	color: #fc3046;
}

/* ── Log in button ──────────────────────────────────────────────────────────── */

.jtf-login-btn {
	width: 100% !important;
	display: block !important;
	box-sizing: border-box !important;
	padding: 12px 20px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	border-radius: 8px !important;
	letter-spacing: 0 !important;
	cursor: pointer;
	margin-bottom: 0;
}

/* ── Register link ──────────────────────────────────────────────────────────── */

.jtf-login-register-link {
	text-align: center;
	font-size: 14px;
	color: #94a3b8;  /* light — on dark panel */
	margin: 0 0 32px;
}

.jtf-login-register-link a {
	color: #fd5323;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s;
}

.jtf-login-register-link a:hover {
	color: #fc3046;
}

/* ── Register section (collapsed by default) ─────────────────────────────────── */

.jtf-register-section {
	display: none;
	border-top: 1px solid #1e3a5f;
	padding-top: 28px;
	margin-top: 8px;
}

.jtf-register-section.is-open {
	display: block;
}

.jtf-register-title {
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	margin: 0 0 20px !important;
}

.jtf-register-note {
	font-size: 14px;
	color: #94a3b8;
	margin: 0 0 16px;
}

/* ── Copyright ──────────────────────────────────────────────────────────────── */

.jtf-login-copyright {
	font-size: 13px;
	color: #94a3b8;
	margin: 0;
	flex-shrink: 0;
}

/* ── Right panel ─────────────────────────────────────────────────────────────── */

.jtf-login-right {
	flex: 0 0 50%;
	position: relative;
	background: #0C1E38;
	min-height: 100vh;
	display: flex;
	align-items: flex-end;
	padding: 48px;
	box-sizing: border-box;
	overflow: hidden;
}

/* ── Background image layers (crossfade) ────────────────────────────────────── */

.jtf-login-bg-image {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 0.6s ease;
}

.jtf-login-bg-image.is-active {
	opacity: 1;
}

.jtf-login-right-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(12, 30, 56, 0.45) 0%,
		rgba(12, 30, 56, 0.82) 100%
	);
}

/* ── Testimonial card ───────────────────────────────────────────────────────── */

.jtf-login-testimonial {
	position: relative;
	z-index: 1;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	padding: 28px 32px;
	width: 100%;
	max-width: 480px;
}

/* ── Slides ─────────────────────────────────────────────────────────────────── */

.jtf-testimonial-slide {
	display: none;
}

.jtf-testimonial-slide.is-active {
	display: block;
}

.jtf-login-testimonial-quote {
	font-size: 17px;
	font-weight: 500;
	color: #ffffff;
	line-height: 1.6;
	margin: 0 0 20px;
	font-style: normal;
}

.jtf-login-testimonial-author {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 20px;
}

.jtf-login-testimonial-name {
	font-size: 15px;
	font-weight: 700;
	color: #ffffff;
}

.jtf-login-testimonial-role {
	font-size: 13px;
	color: #94a3b8;
}

/* ── Footer row: stars + nav ─────────────────────────────────────────────────── */

.jtf-testimonial-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.jtf-login-testimonial-stars {
	display: flex;
	gap: 2px;
}

/* ── Nav buttons ─────────────────────────────────────────────────────────────── */

.jtf-testimonial-nav {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}

.jtf-testimonial-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
	padding: 0;
}

.jtf-testimonial-btn:hover {
	background: rgba(255, 255, 255, 0.22);
	border-color: rgba(255, 255, 255, 0.35);
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
	.jtf-login-split {
		flex-direction: column;
	}

	.jtf-login-left {
		flex: none;
		min-height: auto;
	}

	.jtf-login-left-inner {
		padding: 32px 24px 28px;
	}

	.jtf-login-logo-link {
		margin-bottom: 32px;
	}

	.jtf-login-form-wrap {
		justify-content: flex-start;
	}

	.jtf-login-right {
		flex: none;
		min-height: 320px;
		padding: 28px 24px;
	}
}
