/* Shayan Lumen — split login screens (shop account + wp-login) */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-VF.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

.au-shell, body.au-wp-login {
  --au-side: #0b2927;
  --au-side-deep: #071f1d;
  --au-primary: #0f766e;
  --au-primary-dark: #0a5d56;
  --au-primary-soft: #e7f5f1;
  --au-accent: #f0b43c;
  --au-text: #172b28;
  --au-soft: #5d706b;
  --au-faint: #82918d;
  --au-border: #e1e9e6;
  --au-border-strong: #ccd9d5;
  --au-danger: #c83e4d;
  font-family: "Vazirmatn", Tahoma, system-ui, sans-serif;
  color: var(--au-text);
}
.au-shell *, body.au-wp-login * { box-sizing: border-box; }
.au-shell [hidden] { display: none !important; }
.au-shell .icon, body.au-wp-login .au-brand .icon, .au-lock .icon { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---- layout ---- */
.au-shell { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(380px, .9fr) minmax(520px, 1.1fr); background: #fff; }
body.au-page { margin: 0; background: #fff; }
.au-panel { display: flex; align-items: center; justify-content: center; padding: 48px 32px; background: #fff; min-height: 100vh; min-height: 100dvh; }
.au-wrap { width: min(100%, 410px); }
.au-mobile-brand { display: none; }

/* ---- brand panel ---- */
.au-brand {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh;
  padding: 40px clamp(32px, 4vw, 68px); color: #fff;
  background: radial-gradient(circle at 20% 75%, rgba(95, 181, 156, .16), transparent 35%), linear-gradient(145deg, #103c37 0%, var(--au-side) 52%, var(--au-side-deep) 100%);
}
.au-brand::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 52px 52px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%); mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.au-brand-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.au-logo, .au-mobile-brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.au-logo strong, .au-mobile-brand strong { display: block; font-size: 17px; font-weight: 800; line-height: 1.4; }
.au-logo small, .au-mobile-brand small { display: block; color: #9fb8b2; font-size: 12px; }
.au-mark { display: grid; place-items: center; width: 42px; height: 42px; flex: none; color: #0b2927; background: var(--au-accent); border-radius: 13px; }
.au-mark .icon { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.au-pill { padding: 5px 11px; color: #bad0cb; border: 1px solid rgba(255,255,255,.14); border-radius: 99px; font-size: 11px; white-space: nowrap; }
.au-brand-body { position: relative; z-index: 2; margin: auto 0; padding: 64px 0; max-width: 480px; }
.au-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #b9d0ca; font-size: 12px; font-weight: 600; }
.au-eyebrow i { width: 24px; height: 2px; background: var(--au-accent); border-radius: 2px; }
.au-brand h2 { margin: 22px 0; font-size: clamp(36px, 4vw, 58px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.4; color: #fff; }
.au-brand h2 em { color: var(--au-accent); font-style: normal; }
.au-brand-body > p { max-width: 420px; margin: 0 0 32px; color: #b8cdc8; font-size: 16px; line-height: 1.95; }
.au-features { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.au-features li { display: flex; align-items: center; gap: 10px; color: #d8e7e3; font-size: 14px; }
.au-features .icon { width: 19px; height: 19px; color: var(--au-accent); }
.au-brand-foot { position: relative; z-index: 2; display: flex; align-items: center; gap: 9px; color: #90aaa4; font-size: 12px; }
.au-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--au-accent); box-shadow: 0 0 0 5px rgba(240, 180, 60, .08); }
.au-orbit { position: absolute; z-index: 0; border: 1px solid rgba(240, 180, 60, .09); border-radius: 50%; pointer-events: none; }
.au-orbit-1 { width: 480px; height: 480px; inset-inline-end: -220px; bottom: -160px; }
.au-orbit-2 { width: 330px; height: 330px; inset-inline-end: -130px; bottom: -85px; }

/* ---- form pieces (shop) ---- */
.au-lock { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 24px; color: var(--au-primary); background: var(--au-primary-soft); border-radius: 14px; font-size: 22px; }
.au-kicker { margin: 0 0 6px; color: var(--au-primary); font-size: 12px; font-weight: 800; }
.au-title { margin: 0 0 10px; color: var(--au-text); font-size: 28px; font-weight: 800; letter-spacing: -.5px; line-height: 1.5; }
.au-intro { margin: 0 0 26px; color: var(--au-soft); font-size: 14px; line-height: 1.9; }
.au-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 24px; padding: 4px; background: #f1f5f3; border-radius: 13px; }
.au-tabs button { min-height: 42px; color: var(--au-soft); background: none; border: 0; border-radius: 10px; font: 700 14px "Vazirmatn", sans-serif; cursor: pointer; transition: background .2s, color .2s; }
.au-tabs button[aria-selected="true"] { color: var(--au-primary); background: #fff; box-shadow: 0 1px 4px rgba(14, 44, 39, .1); }
.au-stack { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.au-field { display: flex; flex-direction: column; gap: 7px; }
.au-field > label { color: #334943; font-size: 13.5px; font-weight: 700; }
.au-input { position: relative; }
.au-input > .icon { position: absolute; z-index: 1; top: 50%; inset-inline-start: 14px; transform: translateY(-50%); width: 19px; height: 19px; color: #71847e; pointer-events: none; }
.au-input input { width: 100%; min-height: 50px; padding: 10px 13px; padding-inline-start: 44px; color: var(--au-text); background: #fff; border: 1px solid var(--au-border-strong); border-radius: 10px; font: 500 14.5px "Vazirmatn", sans-serif; outline: none; transition: border-color .2s, box-shadow .2s; }
.au-input input::placeholder { color: #9aa8a4; }
.au-input input:hover { border-color: #aebfba; }
.au-input input:focus { border-color: var(--au-primary); box-shadow: 0 0 0 3px rgba(15, 118, 110, .12); }
.au-pw input { padding-inline-end: 48px; }
.au-eye { position: absolute; inset-inline-end: 3px; top: 3px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--au-soft); background: none; border: 0; border-radius: 8px; cursor: pointer; }
.au-eye:hover { color: var(--au-primary); background: #f8faf9; }
.au-eye .icon { width: 19px; height: 19px; }
.au-eye[aria-pressed="true"] { color: var(--au-primary); }
.au-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.au-check { display: inline-flex; align-items: center; gap: 8px; color: var(--au-soft); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.au-check input { width: 17px; height: 17px; accent-color: var(--au-primary); }
.au-link { color: var(--au-primary); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.au-link:hover { text-decoration: underline; }
.au-submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; color: #fff; background: var(--au-primary); border: 0; border-radius: 10px; font: 800 15px "Vazirmatn", sans-serif; cursor: pointer; box-shadow: 0 8px 20px rgba(15, 118, 110, .24); transition: background .2s, transform .15s; }
.au-submit:hover { background: var(--au-primary-dark); transform: translateY(-1px); }
.au-security { display: flex; align-items: flex-start; gap: 9px; margin-top: 26px; padding-top: 22px; color: var(--au-faint); border-top: 1px solid var(--au-border); }
.au-security .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--au-primary); }
.au-security p { margin: 0; font-size: 12px; line-height: 1.9; }
.au-back { display: inline-flex; align-items: center; gap: 8px; margin: 20px auto 0; width: 100%; justify-content: center; color: var(--au-soft); font-size: 13.5px; text-decoration: none; }
.au-back:hover { color: var(--au-primary); }

/* WooCommerce notices + lost-password inside the panel */
.au-shell .woocommerce-notices-wrapper, .au-shell ul.woocommerce-error, .au-shell .woocommerce-message, .au-shell .woocommerce-info { margin: 0 0 18px; }
.au-shell ul.woocommerce-error, .au-shell .woocommerce-message, .au-shell .woocommerce-info { padding: 11px 14px; list-style: none; border-radius: 9px; font-size: 13px; line-height: 1.8; border: 0; }
.au-shell ul.woocommerce-error { color: #a92838; background: #fff0f1; }
.au-shell .woocommerce-message { color: #167454; background: #e9f7ef; }
.au-shell .woocommerce-info { color: #3469a8; background: #edf4fc; }
.au-shell ul.woocommerce-error::before, .au-shell .woocommerce-message::before, .au-shell .woocommerce-info::before { display: none; }
.au-shell .woocommerce-message .button { display: none; }
.au-shell form.woocommerce-ResetPassword { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; border: 0; background: none; }
.au-shell form.woocommerce-ResetPassword p { margin: 0; color: var(--au-soft); font-size: 14px; line-height: 1.9; }
.au-shell form.woocommerce-ResetPassword .form-row { float: none; width: 100%; padding: 0; margin: 0; }
.au-shell form.woocommerce-ResetPassword label { display: block; margin-bottom: 7px; color: #334943; font-size: 13.5px; font-weight: 700; }
.au-shell form.woocommerce-ResetPassword input.input-text { width: 100%; min-height: 50px; padding: 10px 13px; border: 1px solid var(--au-border-strong); border-radius: 10px; font: 500 14.5px "Vazirmatn", sans-serif; }
.au-shell form.woocommerce-ResetPassword .button { width: 100%; min-height: 52px; color: #fff; background: var(--au-primary); border: 0; border-radius: 10px; font: 800 15px "Vazirmatn", sans-serif; cursor: pointer; }

/* ---- wp-login.php (admin) ---- */
body.au-wp-login { display: grid; grid-template-columns: minmax(380px, .9fr) minmax(520px, 1.1fr); align-items: stretch; min-height: 100vh; margin: 0; padding: 0; direction: rtl; background: #fff; }
body.au-wp-login .au-brand { grid-column: 1; grid-row: 1; }
body.au-wp-login #login { grid-column: 2; grid-row: 1; align-self: center; justify-self: center; width: min(100% - 64px, 410px); max-width: none; margin: 0; padding: 48px 0; }
body.au-wp-login #login h1 { display: none; }
body.au-wp-login.login .message, body.au-wp-login.login .notice, body.au-wp-login.login #login_error { margin: 0 0 18px; padding: 11px 14px; border: 0; border-radius: 9px; background: #edf4fc; color: #3469a8; box-shadow: none; font-size: 13px; line-height: 1.8; }
body.au-wp-login.login #login_error { background: #fff0f1; color: #a92838; }
body.au-wp-login.login .message a, body.au-wp-login.login #login_error a { color: inherit; }
body.au-wp-login .au-lock + .au-kicker, body.au-wp-login .au-title, body.au-wp-login .au-intro { text-align: start; }
body.au-wp-login.login form { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; overflow: visible; }
body.au-wp-login.login form p { margin: 0 0 18px; }
body.au-wp-login.login label { color: #334943; font-size: 13.5px; font-weight: 700; }
body.au-wp-login.login form .input, body.au-wp-login.login input[type=text], body.au-wp-login.login input[type=password] { min-height: 50px; margin: 7px 0 0; padding: 10px 13px; color: var(--au-text); background: #fff; border: 1px solid var(--au-border-strong); border-radius: 10px; font: 500 14.5px "Vazirmatn", sans-serif; box-shadow: none; }
body.au-wp-login.login form .input:focus, body.au-wp-login.login input[type=text]:focus, body.au-wp-login.login input[type=password]:focus { border-color: var(--au-primary); box-shadow: 0 0 0 3px rgba(15, 118, 110, .12); outline: none; }
body.au-wp-login.login .button.wp-hide-pw { inset-inline-start: 3px; inset-inline-end: auto; top: 7px; height: 44px; color: var(--au-soft); }
body.au-wp-login.login .forgetmenot { float: none; display: block; margin: 0 0 18px; font-weight: 600; }
body.au-wp-login.login .forgetmenot input { accent-color: var(--au-primary); }
body.au-wp-login.login .submit { float: none; margin: 0; }
body.au-wp-login.login .button-primary { float: none; width: 100%; min-height: 52px; color: #fff; background: var(--au-primary); border: 0; border-radius: 10px; font: 800 15px "Vazirmatn", sans-serif; box-shadow: 0 8px 20px rgba(15, 118, 110, .24); text-shadow: none; }
body.au-wp-login.login .button-primary:hover { background: var(--au-primary-dark); }
body.au-wp-login.login #nav, body.au-wp-login.login #backtoblog { margin: 18px 0 0; padding: 0; text-align: center; }
body.au-wp-login.login #nav a, body.au-wp-login.login #backtoblog a { color: var(--au-soft); font-size: 13.5px; text-decoration: none; }
body.au-wp-login.login #nav a:hover, body.au-wp-login.login #backtoblog a:hover { color: var(--au-primary); }
body.au-wp-login .language-switcher, body.au-wp-login .privacy-policy-page-link { grid-column: 2; }
body.au-wp-login .privacy-policy-page-link { display: none; }

@media (max-width: 1100px) {
  .au-shell, body.au-wp-login { grid-template-columns: minmax(330px, .85fr) minmax(430px, 1.15fr); }
  .au-brand { padding: 30px; }
  .au-brand h2 { font-size: 38px; }
}
@media (max-width: 900px) {
  .au-shell { display: block; background: #f5f8f7; }
  .au-brand { display: none; }
  .au-panel { min-height: 100vh; min-height: 100dvh; padding: 28px 18px; background: #f5f8f7; }
  .au-wrap { max-width: 440px; padding: 28px 22px; background: #fff; border: 1px solid var(--au-border); border-radius: 20px; box-shadow: 0 6px 24px rgba(14, 44, 39, .06); }
  .au-mobile-brand { display: flex; margin-bottom: 26px; padding-bottom: 22px; color: var(--au-text); border-bottom: 1px solid var(--au-border); }
  .au-mobile-brand small { color: var(--au-faint); }
  .au-lock { display: none; }
  .au-title { font-size: 24px; }

  body.au-wp-login { display: block; background: #f5f8f7; padding: 28px 18px; }
  body.au-wp-login .au-brand { display: none; }
  body.au-wp-login #login { width: auto; max-width: 440px; margin: 0 auto; padding: 28px 22px; background: #fff; border: 1px solid var(--au-border); border-radius: 20px; box-shadow: 0 6px 24px rgba(14, 44, 39, .06); }
  body.au-wp-login .au-lock { display: none; }
}

/* overrides that must win over earlier rules */
.au-shell .au-mobile-brand { display: none; }
.au-shell .au-form form.woocommerce-form { padding: 0; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.au-shell .woocommerce-password-strength { margin-top: 6px; padding: 6px 10px; border-radius: 8px; font-size: 12px; text-align: start; }
.au-shell .woocommerce-password-hint { display: block; margin-top: 6px; color: var(--au-faint); font-size: 12px; line-height: 1.8; }
@media (max-width: 900px) {
  .au-shell .au-mobile-brand { display: flex; }
}
.au-shell .au-brand { position: sticky; top: 0; align-self: start; height: 100vh; height: 100dvh; }
.au-shell .woocommerce-privacy-policy-text p { margin: 0; color: var(--au-faint); font-size: 12.5px; line-height: 1.9; }
@media (max-width: 900px) { .au-shell .au-brand { display: none; } }
body.au-wp-login.login form { border: 0 !important; padding: 0 !important; box-shadow: none !important; background: none !important; }
body.au-wp-login.login .button-primary { background: var(--au-primary) !important; border: 0 !important; border-radius: 10px !important; min-height: 52px; width: 100%; float: none; }
body.au-wp-login.login .button-primary:hover { background: var(--au-primary-dark) !important; }
body.au-wp-login.login input:focus { border-color: var(--au-primary) !important; box-shadow: 0 0 0 3px rgba(15, 118, 110, .12) !important; outline: none !important; }
body.au-wp-login.login .wp-pwd { position: relative; }
body.au-wp-login.login .wp-pwd .button { color: var(--au-soft); }
body.au-wp-login.login .forgetmenot { margin-bottom: 18px; }
body.au-wp-login.login .user-pass-wrap, body.au-wp-login.login form > p:not(.submit):not(.forgetmenot) { margin-bottom: 18px; }
body.au-wp-login.login .forgetmenot { margin: 4px 0 20px; }
body.au-wp-login.login .wp-pwd { margin-top: 7px; }
