.xj-account-page {
	background: linear-gradient(180deg, #fbfdff 0%, #fffaf3 100%);
	padding: 48px 20px 0;
}

.xj-account-shell {
	max-width: 1120px;
	margin: 0 auto 48px;
}

.xj-account-card {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
	overflow: hidden;
	min-height: 620px;
	border: 1px solid rgba(62, 105, 147, 0.2);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(13, 36, 58, 0.08);
}

.xj-account-visual {
	position: relative;
	min-height: 620px;
	background: linear-gradient(135deg, #eff6fb 0%, #fff 55%, #edf5fb 100%);
}

.xj-account-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.xj-account-visual__copy {
	position: absolute;
	top: 58px;
	left: 34px;
	max-width: 190px;
	color: #142033;
	font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.08;
}

.xj-account-visual__heart {
	display: block;
	margin-top: 14px;
	color: #4b94d0;
	font-family: Arial, sans-serif;
	font-size: 28px;
}

.xj-account-panel-wrap {
	display: flex;
	align-items: center;
	padding: 52px 68px;
}

.xj-account-panel {
	width: 100%;
}

.xj-account-panel[hidden] {
	display: none !important;
}

.xj-account-kicker {
	margin: 0 0 8px;
	color: #4b94d0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.xj-account-title {
	margin: 0 0 10px;
	color: #142033;
	font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
	font-size: 43px;
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: 0;
}

.xj-account-subtitle {
	margin: 0 0 28px;
	color: #61728a;
	font-size: 16px;
	line-height: 1.5;
}

.xj-account-form label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	color: #253146;
	font-size: 13px;
	font-weight: 600;
}

.xj-account-form .form-row {
	margin: 0 0 20px;
	padding: 0;
}

.xj-account-form .woocommerce-Input,
.xj-account-form .input-text {
	width: 100%;
	min-height: 48px;
	border: 1px solid #d8e1ea;
	border-radius: 10px;
	background: #fff;
	color: #142033;
	font-size: 15px;
	padding: 0 16px;
	box-shadow: none;
}

.xj-account-form .woocommerce-Input:focus,
.xj-account-form .input-text:focus {
	border-color: #4b94d0;
	outline: 3px solid rgba(75, 148, 208, 0.14);
}

.xj-account-form .required,
.xj-account-form .screen-reader-text {
	color: #d24c73;
}

.xj-account-forgot {
	color: #4b94d0;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.xj-account-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 2px 0 22px;
}

.xj-account-row .woocommerce-form__label {
	display: inline-flex;
	gap: 8px;
	margin: 0;
	color: #526278;
	font-size: 14px;
	font-weight: 500;
}

.xj-account-row input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: #4b94d0;
}

.xj-account-submit,
.xj-account-form button.xj-account-submit {
	width: 100%;
	min-height: 52px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, #4b94d0, #2578b6);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}

.xj-account-submit:hover,
.xj-account-form button.xj-account-submit:hover {
	background: linear-gradient(135deg, #3d86c4, #156ea9);
	color: #fff;
}

.xj-account-divider {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	margin: 24px 0 18px;
	color: #748398;
	font-size: 14px;
}

.xj-account-divider::before,
.xj-account-divider::after {
	content: "";
	height: 1px;
	background: #dfe7ef;
}

.xj-account-google {
	width: 100%;
	min-height: 48px;
	border: 1px solid #d7e1ec;
	border-radius: 10px;
	background: #fff;
	color: #26364b;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.xj-account-google[disabled] {
	cursor: not-allowed;
	opacity: 0.72;
}

.xj-account-google__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 21px;
	height: 21px;
	margin-right: 10px;
	border-radius: 50%;
	color: #4285f4;
	font-size: 18px;
	font-weight: 800;
	vertical-align: -2px;
}

.xj-account-note,
.xj-account-switch {
	margin: 22px 0 0;
	color: #607089;
	font-size: 14px;
	line-height: 1.45;
	text-align: center;
}

.xj-account-switch a,
.xj-account-note a {
	color: #4b94d0;
	font-weight: 700;
	text-decoration: none;
}

.xj-account-code-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 128px;
	gap: 10px;
}

.xj-account-send-code {
	min-height: 48px;
	border: 1px solid #4b94d0;
	border-radius: 10px;
	background: #f3f8fd;
	color: #2478b7;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
}

.xj-account-send-code:disabled {
	cursor: wait;
	opacity: 0.7;
}

.xj-account-code-message {
	min-height: 18px;
	margin: -10px 0 16px;
	color: #61728a;
	font-size: 12px;
	line-height: 1.4;
}

.xj-account-code-message.is-success {
	color: #207a4a;
}

.xj-account-code-message.is-error {
	color: #c2415b;
}

.xj-account-page .woocommerce-notices-wrapper {
	max-width: 1120px;
	margin: 0 auto 20px;
}

@media (max-width: 900px) {
	.xj-account-page {
		padding: 28px 14px 0;
	}

	.xj-account-card {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.xj-account-visual {
		min-height: 320px;
	}

	.xj-account-panel-wrap {
		padding: 34px 22px 38px;
	}

	.xj-account-title {
		font-size: 34px;
	}
}

@media (max-width: 520px) {
	.xj-account-shell {
		margin-bottom: 34px;
	}

	.xj-account-visual {
		min-height: 280px;
	}

	.xj-account-visual__copy {
		top: 28px;
		left: 22px;
		font-size: 25px;
	}

	.xj-account-title {
		font-size: 30px;
	}

	.xj-account-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.xj-account-code-row {
		grid-template-columns: 1fr;
	}
}
