/* Sign-in design and native account pages. Scoped to the named account template. */
body.as-site.as-auth-page { margin:0; min-height:100vh; display:flex; flex-direction:column; background:#F5F8FC; color:#1F3550; font-family:'Nunito Sans',system-ui,sans-serif; font-size:14px; line-height:1.45; }
.as-auth-page *,.as-auth-page *::before,.as-auth-page *::after { box-sizing:border-box; }
.as-auth-page [hidden] { display:none!important; }
.as-auth-page { --as-auth-content-width:1040px; --as-auth-card-inset:32px; --as-auth-heading-inset:calc(var(--as-auth-card-inset) + 1px); }
.as-auth-page:has(.as-auth-reset) { --as-auth-content-width:600px; --as-auth-heading-inset:0px; }
.as-auth-page.as-auth-signed-in { --as-auth-content-width:1180px; --as-auth-heading-inset:0px; }
.as-auth-wrap { max-width:1180px; width:100%; margin:0 auto; padding:0 24px; }
.as-auth-header { background:#fff; border-bottom:1px solid #E4EAF1; }
.as-auth-header-inner { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px 24px; max-width:var(--as-auth-content-width); padding-block:12px; padding-inline:calc(var(--as-page-gutter) + var(--as-auth-heading-inset)); }
.as-auth-header .as-logo img { height:52px; width:auto; }
.as-auth-secure { display:flex; gap:8px; align-items:center; font-size:15px; font-weight:700; color:#2B4360; }
.as-auth-help { color:#5D6C7E; font-size:13px; }
.as-auth-help a { font-weight:700; }
.as-auth-main { width:100%; max-width:var(--as-auth-content-width); margin:auto; padding:40px var(--as-page-gutter); }
.as-auth-content { min-width:0; }
.as-auth-page h1,.as-auth-page h2,.as-auth-page h3 { color:#1F3550; font-family:inherit; }
.as-auth-layout { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); gap:24px; align-items:stretch; }
.as-auth-card { border:1px solid #E4EAF1; border-radius:8px; background:#fff; min-width:0; padding:28px var(--as-auth-card-inset); box-shadow:0 8px 24px rgba(43,67,96,.06); }
.as-auth-tabs { display:flex; border-bottom:1px solid #E4EAF1; gap:20px; margin-bottom:18px; }
.as-site.as-site .as-auth-tabs button { padding:0 0 12px; border:0; border-bottom:3px solid transparent; border-radius:0; background:none; color:#56687D; font:700 15px/1.4 'Nunito Sans',sans-serif; cursor:pointer; text-transform:none; }
.as-site.as-site .as-auth-tabs button[aria-selected=true] { color:#4A7FB5; border-bottom-color:#4A7FB5; }
.as-auth-panel h1 { font-size:24px; font-weight:800; line-height:1.3; margin:0 0 4px; }
.as-auth-sub { margin:0 0 18px; color:#56687D; font-size:14px; line-height:1.5; }
.as-auth-page .as-auth-panel form.woocommerce-form { border:0; padding:0; margin:0; background:none; }
.as-auth-page .as-auth-panel form.woocommerce-form::after { content:''; display:block; clear:both; }
.as-auth-page .as-auth-panel .woocommerce-form-login__submit,.as-auth-page .as-auth-panel .woocommerce-form-register__submit { float:none; }
.as-auth-page .form-row { float:none; width:100%; padding:0; margin:0 0 16px; }
.as-auth-page .form-row label { display:block; font-size:13px; font-weight:700; color:#2B4360; margin-bottom:6px; line-height:1.5; }
.as-auth-page .required { color:#C2410C; }
.as-auth-page .as-auth-content input.input-text,.as-auth-page .as-auth-content input[type=email],.as-auth-page .as-auth-content input[type=text],.as-auth-page .as-auth-content input[type=password],.as-auth-page .as-auth-content input[type=tel],.as-auth-page .as-auth-content select { width:100%; min-width:0; height:44px; border:1px solid #C9D2DE; border-radius:8px; padding:0 12px; background:#fff; color:#1F3550; font:400 14px/1.4 'Nunito Sans',sans-serif; box-shadow:none; }
.as-auth-page .as-auth-content textarea { width:100%; border:1px solid #C9D2DE; border-radius:8px; padding:10px 12px; font:inherit; }
.as-auth-page .as-auth-content input:focus,.as-auth-page .as-auth-content select:focus { border-color:#4A7FB5; outline:2px solid #4A7FB5; outline-offset:0; }
.as-auth-password-label { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.as-auth-password-label a { color:#4A7FB5!important; font-size:13px; font-weight:700; }
.as-auth-page .as-auth-check { display:flex!important; align-items:center; gap:8px; font-weight:400!important; color:#3E5068!important; }
.as-auth-page .as-auth-check input { width:18px; height:18px; margin:0; flex:none; accent-color:#4A7FB5; }
.as-site.as-site .as-auth-btn,.as-site.as-site .as-auth-content .woocommerce-ResetPassword button[type=submit] { width:100%; min-height:46px; padding:10px 20px; border:1px solid #4A7FB5; border-radius:8px; background:#4A7FB5; color:#fff; display:inline-flex; align-items:center; justify-content:center; gap:8px; font:700 15px/1.4 'Nunito Sans',sans-serif; cursor:pointer; text-transform:none; text-decoration:none; text-align:center; margin:0; }
.as-site.as-site .as-auth-btn:hover,.as-site.as-site .as-auth-content .woocommerce-ResetPassword button[type=submit]:hover { color:#fff; background:#3D6A99; border-color:#3D6A99; }
.as-site.as-site .as-auth-btn--outline { color:#4A7FB5; background:#fff; }
.as-site.as-site .as-auth-btn--outline:hover { color:#3D6A99; background:#EDF3FA; }
.as-auth-or { display:flex; align-items:center; gap:12px; color:#98A2B3; font-size:12px; font-weight:700; margin:18px 0; }
.as-auth-or span { flex:1; height:1px; background:#E4EAF1; }
.as-auth-alternatives { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.as-site.as-site .as-auth-alternatives > * { border:1px solid #E4EAF1; border-radius:8px; padding:12px 14px; background:#fff; display:flex; flex-direction:column; gap:3px; text-align:left; font:400 14px/1.4 'Nunito Sans',sans-serif; color:#1F3550; cursor:pointer; text-transform:none; }
.as-site.as-site .as-auth-alternatives > *:hover { border-color:#9FB3CB; background:#F5F8FC; }
.as-auth-alternatives b { font-size:13px; font-weight:700; }
.as-auth-alternatives small { font-size:12px; color:#56687D; }
.as-auth-security { margin:18px 0 0; display:flex; align-items:center; gap:8px; padding:10px 12px; background:#F5F8FC; border-radius:8px; font-size:12px; color:#56687D; }
.as-auth-security span { color:#4A7FB5; font-size:16px; }
.as-auth-perks { display:flex; flex-direction:column; gap:16px; min-width:0; border-radius:8px; border:1px solid #E4EAF1; background:linear-gradient(160deg,#EDF3FA,#FBF3E2); padding:28px; }
.as-auth-eyebrow { font-size:11px; font-weight:800; letter-spacing:.06em; color:#9A6516; }
.as-auth-perks h2 { margin:0; font-size:22px; font-weight:800; line-height:1.25; }
.as-auth-perk { display:flex; align-items:flex-start; gap:12px; }
.as-auth-perk > span { width:28px; height:28px; flex:none; display:flex; align-items:center; justify-content:center; border-radius:8px; background:#fff; color:#4A7FB5; font-weight:800; }
.as-auth-perk p { margin:0; }
.as-auth-perk b { display:block; font-size:14px; }
.as-auth-perk small { display:block; font-size:13px; color:#56687D; margin-top:2px; }
.as-auth-perks-note { margin:auto 0 0; font-size:13px; color:#56687D; }
.as-auth-new-actions { display:flex; flex-direction:column; gap:12px; margin-top:20px; }
.as-auth-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.as-auth-buyer { border:0; padding:0; margin:0 0 16px; }
.as-auth-buyer legend { font-size:13px; font-weight:700; color:#2B4360; margin-bottom:8px; }
.as-auth-buyer > div { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.as-auth-buyer label { display:flex; gap:8px; align-items:flex-start; border:1px solid #C9D2DE; border-radius:8px; padding:10px 8px; font-size:11px; cursor:pointer; }
.as-auth-buyer label:has(input:checked) { border-color:#4A7FB5; background:#EDF3FA; }
.as-auth-buyer input { margin:0!important; width:16px!important; height:16px!important; }
.as-auth-buyer b { display:block; }
.as-auth-buyer small { display:block; color:#56687D; font-size:10px; }
.as-auth-organisation { padding:14px; background:#F5F8FC; border-radius:8px; margin-bottom:16px; }
.as-auth-organisation .form-row:last-child { margin-bottom:0; }
.as-auth-organisation #as_gstin { text-transform:uppercase; }
.as-auth-page .woocommerce-privacy-policy-text { color:#56687D; font-size:12px; line-height:1.5; }
.as-auth-page .woocommerce-error,.as-auth-page .woocommerce-info,.as-auth-page .woocommerce-message { border-radius:8px; margin-bottom:20px; font-size:13px; }
.as-auth-page .woocommerce-notices-wrapper:empty { display:none; }
.as-auth-page .password-input { width:100%; }
.as-auth-page .show-password-input { right:12px; }
.as-auth-footer { margin-top:auto; background:#2B4360; color:#C9D8EA; }
.as-auth-footer .as-auth-wrap { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 24px; padding-top:22px; padding-bottom:22px; font-size:13px; }
.as-auth-footer nav { display:flex; flex-wrap:wrap; gap:16px; }
.as-site.as-site .as-auth-footer a { color:#C9D8EA; }
.as-auth-reset > h1 { font-size:26px; font-weight:800; margin:0 0 20px; }
.as-auth-reset .as-auth-content { border:1px solid #E4EAF1; border-radius:8px; background:#fff; padding:28px 32px; }
.as-auth-reset form.lost_reset_password { margin:0; }
.as-auth-reset form.lost_reset_password > p:first-child { margin:0 0 18px; color:#56687D; }
.as-auth-reset .form-row-first,.as-auth-reset .form-row-last { width:100%; }
.as-auth-page.as-auth-page .lost_reset_password .form-row { float:none; width:100%; }
.as-auth-back { display:inline-block; font-size:13px; font-weight:700; margin-top:16px; }
.as-auth-signed-in .as-auth-main { margin:0 auto; flex:1; }
.as-auth-account-title { font-size:28px; font-weight:800; margin:0 0 24px; }
.as-auth-signed-in .as-auth-content::after { content:''; display:block; clear:both; }
.as-auth-signed-in .woocommerce-MyAccount-navigation { border:1px solid #E4EAF1; border-radius:8px; background:#fff; padding:12px; }
.as-auth-signed-in .woocommerce-MyAccount-navigation ul { margin:0; padding:0; list-style:none; }
.as-auth-signed-in .woocommerce-MyAccount-navigation a { display:block; padding:12px; border-radius:8px; font-weight:700; }
.as-auth-signed-in .woocommerce-MyAccount-navigation .is-active a { background:#EDF3FA; color:#4A7FB5; }
.as-auth-signed-in .woocommerce-MyAccount-content { background:#fff; border:1px solid #E4EAF1; border-radius:8px; padding:24px; min-width:0; }
.as-auth-signed-in .woocommerce-MyAccount-content p:first-child { margin-top:0; }
.as-auth-signed-in .woocommerce-MyAccount-content .button { background:#4A7FB5; color:#fff; border:0; border-radius:8px; font:700 14px/1.4 'Nunito Sans',sans-serif; padding:10px 16px; text-transform:none; }
.as-auth-signed-in .woocommerce-MyAccount-content table { font-size:13px; border-color:#E4EAF1; }
.as-auth-signed-in .woocommerce-MyAccount-content fieldset { border:1px solid #E4EAF1; border-radius:8px; padding:16px; margin-bottom:20px; }
.as-auth-signed-in .woocommerce-MyAccount-content address { font-style:normal; }
@media(max-width:800px) {
	.as-auth-layout { grid-template-columns:minmax(0,1fr); }
	.as-auth-page:not(.as-auth-signed-in):not(:has(.as-auth-reset)) { --as-auth-content-width:620px; }
	.as-auth-signed-in .woocommerce-MyAccount-navigation,.as-auth-signed-in .woocommerce-MyAccount-content { float:none; width:100%; }
	.as-auth-signed-in .woocommerce-MyAccount-navigation { margin-bottom:16px; }
	.as-auth-signed-in .woocommerce-MyAccount-navigation ul { display:flex; flex-wrap:wrap; }
}
@media(max-width:640px) {
	.as-auth-page { --as-auth-card-inset:20px; }
	.as-auth-footer .as-auth-wrap { padding-inline:var(--as-page-gutter); }
	.as-auth-header .as-logo img { height:44px; }
	.as-auth-secure { font-size:13px; }
	.as-auth-help { display:none; }
	.as-auth-main { padding-block:24px; }
	.as-auth-card { padding-block:24px; }
	.as-auth-panel h1 { font-size:22px; }
	.as-auth-perks { padding:24px 20px; }
	.as-auth-perks h2 { font-size:21px; }
	.as-auth-alternatives,.as-auth-fields { grid-template-columns:minmax(0,1fr); }
	.as-auth-buyer > div { grid-template-columns:minmax(0,1fr); }
	.as-auth-buyer label { font-size:13px; padding:12px; }
	.as-auth-buyer small { font-size:11px; }
	.as-auth-reset .as-auth-content { padding:24px 20px; }
	.as-auth-signed-in .woocommerce-MyAccount-content { padding:20px 16px; overflow-wrap:anywhere; }
}
