/**
 * Vexa customer login screen (wp-login.php), same design system as the
 * onboarding wizard: Blue #003CFF · Black · Green #3CD799 · Roboto.
 */

body.login {
	background: linear-gradient(160deg, #eaf0ff 0%, #ffffff 55%, #e6fbf1 100%);
	font-family: Roboto, "Segoe UI", Arial, sans-serif;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 24px 12px;
}

body.login #login {
	width: 100%;
	max-width: 400px;
	padding: 0;
	margin: 0;
}

body.login #login h1 a {
	/* The real header logo is injected as the background-image by
	   Account::login_enqueue_styles() so the URL stays portable per domain.
	   The logo is a wide wordmark (1913x822), so the box uses its ratio. */
	width: 190px;
	aspect-ratio: 1913 / 822;
	height: auto;
	margin: 0 auto 22px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	border-radius: 0;
	box-shadow: none;
}

body.login #login_error,
body.login #login .message,
body.login #login .success {
	border-left-color: #003cff;
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

body.login #loginform,
body.login #lostpasswordform,
body.login #registerform {
	background: #ffffff;
	border: 1px solid #e3e6ee;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	padding: 28px 26px;
	margin-top: 4px;
}

body.login #loginform label,
body.login #lostpasswordform label,
body.login #registerform label {
	font-size: 14px;
	font-weight: 700;
	color: #000000;
}

body.login #loginform .input,
body.login #lostpasswordform .input,
body.login #registerform .input,
body.login input[type="text"],
body.login input[type="password"],
body.login input[type="email"] {
	border: 1.5px solid #e3e6ee;
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 15px;
	font-family: Roboto, "Segoe UI", Arial, sans-serif;
	color: #000000;
	background: #fff;
	margin-top: 6px;
}

body.login #loginform .input:focus,
body.login input[type="text"]:focus,
body.login input[type="password"]:focus,
body.login input[type="email"]:focus {
	outline: none;
	border-color: #003cff;
	box-shadow: 0 0 0 3px rgba(0, 60, 255, 0.15);
}

body.login .wp-pwd button.button {
	border-radius: 10px;
}

body.login p.submit .button-primary,
body.login #loginform #wp-submit,
body.login .button-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 10px 20px;
	border: none;
	border-radius: 999px;
	background: #003cff;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-shadow: none;
	box-shadow: 0 6px 18px rgba(0, 60, 255, 0.3);
	cursor: pointer;
	transition: background 0.2s ease, transform 0.1s ease;
}

body.login p.submit .button-primary:hover,
body.login #loginform #wp-submit:hover,
body.login .button-primary:hover {
	background: #002dbf;
	transform: translateY(-1px);
}

.vex-login-welcome {
	text-align: center;
	margin: 0 0 18px;
}

.vex-login-welcome h2 {
	margin: 0 0 6px;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
	color: #000000;
}

.vex-login-welcome p {
	margin: 0;
	font-size: 14px;
	color: #878787;
}

body.login #loginform .forgetmenot label {
	font-size: 13px;
	font-weight: 500;
	color: #555555;
}

body.login #nav,
body.login #backtoblog {
	text-align: center;
}

body.login #nav a,
body.login #backtoblog a {
	color: #878787;
	font-size: 13.5px;
	text-decoration: none;
}

body.login #nav a:hover,
body.login #backtoblog a:hover {
	color: #003cff;
}

body.login .privacy-policy-page-link {
	text-align: center;
}

@media (max-width: 480px) {
	body.login #loginform,
	body.login #lostpasswordform,
	body.login #registerform {
		padding: 22px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.login * {
		transition: none !important;
		animation: none !important;
	}
}

/* ---------- Customer login page (/login/) ---------- */
body.vex-customer-login {
	background: linear-gradient(160deg, #eaf0ff 0%, #ffffff 55%, #e6fbf1 100%);
}

/* The site header is a floating sticky Elementor band (about 77px tall,
   measured live) that overlaps page content. Push the login content below
   it so .vex-login-page's 80px top padding becomes a real visible gap
   between the header and the card. */
body.vex-customer-login #main.site-main {
	padding-top: 90px;
}

.vex-login-page {
	--vex-blue: #003cff;
	--vex-blue-dark: #002dbf;
	--vex-blue-soft: #eaf0ff;
	--vex-green: #3cd799;
	--vex-black: #000000;
	--vex-gray: #878787;
	--vex-border: #e3e6ee;
	--vex-radius: 16px;
	--vex-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

	box-sizing: border-box;
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
	padding: 80px 0 64px;
	font-family: Roboto, "Segoe UI", Arial, sans-serif;
	color: var(--vex-black);
	line-height: 1.6;
}

.vex-login-page *,
.vex-login-page *::before,
.vex-login-page *::after {
	box-sizing: border-box;
}

.vex-login-page__card {
	background: #ffffff;
	border: 1px solid var(--vex-border);
	border-radius: var(--vex-radius);
	box-shadow: var(--vex-shadow);
	padding: 36px 32px 28px;
	text-align: center;
}

.vex-login-page__logo {
	display: inline-block;
	width: 170px;
	height: auto;
	margin: 0 0 22px;
}

.vex-login-page__eyebrow {
	display: inline-block;
	background: var(--vex-green);
	color: #002d1f;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 999px;
	margin: 0 0 14px;
}

.vex-login-page__title {
	font-size: 26px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--vex-black);
	margin: 0 0 8px;
}

.vex-login-page__sub {
	font-size: 14px;
	color: var(--vex-gray);
	margin: 0 0 20px;
}

.vex-login-page__error {
	background: #fdecea;
	border: 1px solid #f5c6c0;
	color: #b3261e;
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 13px;
	text-align: left;
	margin: 0 0 16px;
}

.vex-login-page__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 20px;
}

.vex-login-form {
	text-align: left;
}

.vex-login-form p {
	margin: 0 0 16px;
}

.vex-login-form label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--vex-black);
	margin-bottom: 6px;
}

.vex-login-form__input {
	width: 100%;
	border: 1.5px solid var(--vex-border);
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 15px;
	font-family: inherit;
	color: var(--vex-black);
	background: #ffffff;
}

.vex-login-form__input:focus {
	outline: none;
	border-color: var(--vex-blue);
	box-shadow: 0 0 0 3px rgba(0, 60, 255, 0.15);
}

.vex-login-form__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.vex-login-form__remember {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	color: #555555;
}

.vex-login-form__lost {
	font-size: 13px;
	color: var(--vex-gray);
	text-decoration: none;
}

.vex-login-form__lost:hover {
	color: var(--vex-blue);
}

body.vex-customer-login .vex-login-btn,
body.vex-customer-login .vex-login-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 14px 28px;
	border: none;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

body.vex-customer-login .vex-login-btn--primary,
body.vex-customer-login .vex-login-form__submit {
	background: #0c1640;
	color: #ffffff;
	box-shadow: 0 6px 18px rgba(12, 22, 64, 0.35);
}

body.vex-customer-login .vex-login-btn--primary:hover,
body.vex-customer-login .vex-login-form__submit:hover {
	background: #081131;
	transform: translateY(-1px);
}

body.vex-customer-login .vex-login-btn--ghost {
	background: #ffffff;
	color: var(--vex-black);
	border: 1.5px solid var(--vex-border);
	box-shadow: none;
}

body.vex-customer-login .vex-login-btn--ghost:hover {
	border-color: var(--vex-blue);
	color: var(--vex-blue);
}

.vex-login-page__back {
	text-align: center;
	font-size: 13px;
	margin: 22px 0 0;
}

.vex-login-page__back a {
	color: var(--vex-gray);
	text-decoration: none;
}

.vex-login-page__back a:hover {
	color: var(--vex-blue);
}

@media (max-width: 480px) {
	.vex-login-page {
		padding: 24px 0 48px;
	}

	.vex-login-page__card {
		padding: 28px 20px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vex-login-page * {
		transition: none !important;
		animation: none !important;
	}
}
