@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

body.seller-auth-route:has(:is(#seller-login, #seller-forgotten, #seller-reset)),
body.seller-auth-route:has(:is(#seller-login, #seller-forgotten, #seller-reset)) .seller-shell__content { background: #fcfdfb; }
body.seller-auth-route:has(:is(#seller-login, #seller-forgotten, #seller-reset)) .seller-shell { max-width: none; }
body.seller-layout .seller-shell__content > :is(#seller-login, #seller-forgotten, #seller-reset) {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 46% 54%;
  max-width: 1560px;
  min-height: 100svh;
  margin: 0 auto;
  padding: 16px;
  background: #fcfdfb !important;
  color: #172f31;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
:is(#seller-login, #seller-forgotten, #seller-reset) *, :is(#seller-login, #seller-forgotten, #seller-reset) *::before, :is(#seller-login, #seller-forgotten, #seller-reset) *::after { box-sizing: border-box; }
:is(#seller-login, #seller-forgotten, #seller-reset) a { text-decoration: none; }
:is(#seller-login, #seller-forgotten, #seller-reset) button, :is(#seller-login, #seller-forgotten, #seller-reset) input { font: inherit; }
:is(#seller-login, #seller-forgotten, #seller-reset) a:focus-visible, :is(#seller-login, #seller-forgotten, #seller-reset) button:focus-visible, :is(#seller-login, #seller-forgotten, #seller-reset) input:focus-visible { outline: 2px solid #e96c2d; outline-offset: 3px; }

.login-story {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  min-height: 760px; padding: 40px 46px 28px; border-radius: 22px;
  background: #143f39; color: #fff;
}
.login-story::after { content: ''; position: absolute; top: 240px; left: -140px; width: 580px; height: 580px; pointer-events: none; background: radial-gradient(circle, #35736152, transparent 68%); }
.login-brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; color: #294a3b; font: 800 25px/1 'Manrope', sans-serif; letter-spacing: -1.1px; }
:is(#seller-login, #seller-forgotten, #seller-reset) .login-brand--light { color: #fff; }
.login-brand__mark { display: grid; place-items: center; overflow: hidden; width: 35px; height: 36px; border-radius: 11px; background: #fff; box-shadow: 0 3px 8px #082b2322; }
.login-brand__mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.login-brand__dot { margin-left: -9px; color: #f5ab77; }
.login-brand--mobile { display: none; }
.login-story__copy { position: relative; z-index: 1; margin-top: 63px; }
.login-story__eyebrow { display: flex; align-items: center; gap: 9px; color: #b3cec5; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.login-story__eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #f6a66e; }
.login-story__copy h2 { margin: 20px 0 0; font: 700 clamp(30px,3.2vw,45px)/1.22 'Manrope', sans-serif; letter-spacing: -1.6px; }
.login-story__copy h2 span { color: #f5b17e; }
.login-story__copy p { max-width: 340px; margin: 17px 0 0; color: #bbd0c8; font-size: 14px; line-height: 1.8; }
.login-story__foot { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin: auto 0 0; padding-top: 16px; color: #b4ccc0; font-size: 11px; }
.login-story__foot svg { width: 17px; height: 17px; }

.login-preview { position: relative; z-index: 1; width: min(100%,450px); min-height: 280px; margin: 42px 0 34px; padding: 18px; transform: rotate(-3deg); border: 1px solid #ffffff30; border-radius: 13px; background: #f9fcf9; box-shadow: 0 25px 55px #082a3650; color: #26473c; }
.login-preview__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid #e7ede7; font-size: 9px; }
.login-preview__top strong { display: flex; align-items: center; gap: 5px; }
.login-preview__top strong svg { width: 14px; height: 14px; color: #ee7031; }
.login-preview__top > span:nth-child(2) { font-size: 7px; }
.login-preview__avatar { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: #e5eadd; font-size: 8px; }
.login-preview__heading { display: block; margin-top: 16px; font-size: 13px; }
.login-preview__subheading { display: block; margin-top: 4px; color: #8b988f; font-size: 8px; }
.login-preview__metrics { display: flex; gap: 10px; margin-top: 15px; }
.login-preview__metrics > div { width: 50%; padding: 11px; border: 1px solid #e7ece6; border-radius: 7px; background: white; }
.login-preview__metrics span, .login-preview__metrics strong, .login-preview__metrics small { display: block; }
.login-preview__metrics span { color: #7c8b7f; font-size: 7px; }
.login-preview__metrics strong { margin: 6px 0 4px; font-size: 16px; }
.login-preview__metrics em { font-size: 9px; font-weight: 400; font-style: normal; }
.login-preview__metrics small { color: #3c8761; font-size: 6px; }
.login-preview__chart-title { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; font-size: 9px; }
.login-preview__chart-title span { color: #78877b; font-size: 7px; }
.login-preview__bars { display: flex; align-items: end; gap: 8px; height: 80px; margin-top: 15px; padding: 0 9px; border-bottom: 1px solid #e6ece4; background: repeating-linear-gradient(to top, transparent 0, transparent 25px, #edf1ea 26px); }
.login-preview__bars i { flex: 1; height: 35%; border-radius: 3px 3px 0 0; background: #d9e8dd; }
.login-preview__bars i:nth-child(2) { height: 55%; } .login-preview__bars i:nth-child(3) { height: 45%; } .login-preview__bars i:nth-child(4) { height: 65%; } .login-preview__bars i:nth-child(5) { height: 53%; } .login-preview__bars i:nth-child(6) { height: 80%; background: #ee9564; } .login-preview__bars i:nth-child(7) { height: 97%; background: #efa16e; }
.login-preview__days { display: flex; justify-content: space-around; margin-top: 7px; color: #9aa496; font-size: 6px; }
.login-preview__toast { position: absolute; right: -16px; bottom: -22px; display: flex; align-items: center; gap: 10px; padding: 13px 18px; transform: rotate(3deg); border: 1px solid #e9eee8; border-radius: 10px; background: white; box-shadow: 0 9px 35px #0b2f3428; color: #1d3e32; }
.login-preview__toast > span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #ebf5ed; color: #3d8e65; }
.login-preview__toast svg { width: 16px; height: 16px; }
.login-preview__toast strong, .login-preview__toast small { display: block; white-space: nowrap; }
.login-preview__toast strong { font-size: 10px; } .login-preview__toast small { margin-top: 4px; color: #809184; font-size: 8px; }

.login-panel { display: flex; flex-direction: column; min-width: 0; padding: 21px 44px 13px; }
.login-panel__nav { display: flex; justify-content: end; align-items: center; gap: 6px; font-size: 12px; }
.login-panel__nav > a:last-child { display: flex; align-items: center; gap: 5px; color: #425e50; }
.login-panel__nav > a:last-child svg { width: 15px; height: 15px; }
.login-panel__content { width: 100%; max-width: 376px; margin: auto; padding: 52px 0; }
.login-panel__badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid #e3eadf; border-radius: 5px; background: #f0f4ed; color: #60765c; font-size: 9px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.login-panel__badge svg { width: 12px; height: 12px; }
.login-panel h1 { margin: 17px 0 0; font: 800 30px/1.3 'Manrope', sans-serif; letter-spacing: -1.2px; }
.login-panel__intro { margin: 10px 0 0; color: #748080; font-size: 13px; line-height: 1.75; }
.login-panel__alert { display: flex; align-items: start; gap: 9px; margin-top: 18px; padding: 10px 12px; border: 1px solid; border-radius: 8px; font-size: 12px; line-height: 1.5; }
.login-panel__alert svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.login-panel__alert--error { border-color: #f2c7b8; background: #fff4ee; color: #a64219; }
.login-panel__alert--success { border-color: #bddfc9; background: #f0faf2; color: #286847; }
:is(#seller-login, #seller-forgotten, #seller-reset) .login-panel__google { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; min-height: 47px; margin-top: 28px; border: 1px solid #dce3dd; border-radius: 8px; background: white; color: #334b3e; font-size: 12px; font-weight: 600; transition: background .2s,border-color .2s; }
:is(#seller-login, #seller-forgotten, #seller-reset) .login-panel__google:hover { background: #f4f7f0; border-color: #b8c8b6; }
.login-panel__divider { display: flex; align-items: center; gap: 13px; margin: 23px 0; color: #97a099; font-size: 10px; }
.login-panel__divider::before, .login-panel__divider::after { content: ''; flex: 1; height: 1px; background: #e4e9e7; }
.login-form__field { margin-bottom: 18px; }
.login-form__field label { color: #3d5146; font-size: 11px; font-weight: 600; }
.login-form__label-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.login-form__field > label { display: block; margin-bottom: 8px; }
:is(#seller-login, #seller-forgotten, #seller-reset) .login-form__label-row a, :is(#seller-login, #seller-forgotten, #seller-reset) .login-panel__register a { color: #d6652e; font-size: 11px; font-weight: 600; }
:is(#seller-login, #seller-forgotten, #seller-reset) .login-form__label-row a:hover, :is(#seller-login, #seller-forgotten, #seller-reset) .login-panel__register a:hover { color: #a64219; text-decoration: underline; }
.login-form__input { position: relative; display: flex; align-items: center; }
.login-form__input > svg { position: absolute; left: 14px; z-index: 1; width: 16px; height: 16px; pointer-events: none; color: #9aa79f; }
:is(#seller-login, #seller-forgotten, #seller-reset) .login-form__input input { width: 100%; height: 48px; min-height: 48px; padding: 0 43px 0 41px; border: 1px solid #dfe5df; border-radius: 8px; background: white; color: #243e30; font-size: 12px; transition: border-color .2s,box-shadow .2s; }
:is(#seller-login, #seller-forgotten, #seller-reset) .login-form__input input::placeholder { color: #a0aaa2; }
:is(#seller-login, #seller-forgotten, #seller-reset) .login-form__input input:hover { border-color: #bcc9bc; }
:is(#seller-login, #seller-forgotten, #seller-reset) .login-form__input input:focus { outline: none; border-color: #e88652; box-shadow: 0 0 0 3px #ef7e3414; }
:is(#seller-login, #seller-forgotten, #seller-reset) .login-form__toggle { position: absolute; right: 7px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: #99a59a; cursor: pointer; }
:is(#seller-login, #seller-forgotten, #seller-reset) .login-form__toggle:hover { background: #f3f5ef; }
.login-form__toggle svg { width: 16px; height: 16px; }
.login-form__remember { display: flex; align-items: center; gap: 8px; width: max-content; margin: 2px 0 23px; color: #758172; font-size: 11px; cursor: pointer; }
:is(#seller-login, #seller-forgotten, #seller-reset) .login-form__remember input { width: 14px; height: 14px; margin: 0; accent-color: #e96c2d; }
:is(#seller-login, #seller-forgotten, #seller-reset) .login-form__submit { display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%; min-height: 48px; border: 1px solid #e46a2c; border-radius: 8px; background: #ee7031; box-shadow: 0 3px 5px #b66d2920; color: white; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .2s,transform .2s,box-shadow .2s; }
:is(#seller-login, #seller-forgotten, #seller-reset) .login-form__submit:hover { background: #dd6024; transform: translateY(-1px); box-shadow: 0 4px 12px #b66d2930; }
.login-form__submit svg { width: 16px; height: 16px; }
.login-panel__register { margin: 25px 0 0; color: #889087; font-size: 11px; text-align: center; }
.login-panel__private { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 26px 0 0; color: #a2aa9e; font-size: 9px; }
.login-panel__private svg { width: 12px; height: 12px; }
.login-panel__footer { color: #a0a89d; font-size: 9px; text-align: center; }
.login-panel__legal { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 9px; }
:is(#seller-login, #seller-forgotten, #seller-reset) .login-panel__legal a { color: inherit; }
:is(#seller-login, #seller-forgotten, #seller-reset) .login-panel__legal a:hover { color: #647260; text-decoration: underline; }
.login-panel__footer p { margin: 0; } .login-panel__footer span { color: #899583; }

/* Shared recovery pages use the login layout and form rhythm. */
.recovery-preview {
  position: relative; z-index: 1; width: min(100%, 430px); margin: 48px 0 40px;
  padding: 25px; border: 1px solid #ffffff30; border-radius: 15px;
  background: #f9fcf9; box-shadow: 0 25px 55px #082a3650; color: #26473c;
  transform: rotate(-2deg);
}
.recovery-preview__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #eaf5ed; color: #3d8e65; }
.recovery-preview__icon svg { width: 22px; height: 22px; }
.recovery-preview__eyebrow { display: block; margin-top: 20px; color: #6d8576; font-size: 9px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.recovery-preview > strong { display: block; margin-top: 7px; font: 700 18px/1.35 'Manrope', sans-serif; letter-spacing: -.5px; }
.recovery-preview > p { margin: 8px 0 20px; color: #74877b; font-size: 11px; line-height: 1.7; }
.recovery-preview__step { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #e7ede7; }
.recovery-preview__step > span { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 7px; background: #eaf2e9; color: #427153; font-size: 9px; font-weight: 700; }
.recovery-preview__step > div { flex: 1; }
.recovery-preview__step strong, .recovery-preview__step small { display: block; }
.recovery-preview__step strong { font-size: 10px; }
.recovery-preview__step small { margin-top: 2px; color: #8b988f; font-size: 8px; }
.recovery-preview__step > svg { width: 15px; height: 15px; color: #4e9470; }
.recovery-form { margin-top: 28px; }
.recovery-form .login-form__field > label { margin-bottom: 8px; }
.login-form__error { margin: 6px 0 0; color: #b74422; font-size: 11px; line-height: 1.6; }
:is(#seller-forgotten, #seller-reset) .login-form__input input[aria-invalid="true"] { border-color: #c24f2e; }

@media (min-width: 1450px) { .login-story { padding: 48px 62px 28px; } .login-story__copy { margin-top: 80px; } .login-preview { margin-top: 50px; } .login-panel { padding: 25px 65px; } .login-panel__content { max-width: 390px; } }
@media (max-width: 1050px) { .login-story { min-height: 740px; padding: 32px; } .login-story__copy h2 { font-size: 33px; } .login-story__copy p { font-size: 13px; } .login-panel { padding: 20px 35px; } }
@media (max-width: 760px) {
  body.seller-layout .seller-shell__content > :is(#seller-login, #seller-forgotten, #seller-reset) { display: block; padding: 0; }
  .login-story { display: none; }
  .login-panel { min-height: 100svh; padding: 26px 26px 20px; }
  .login-panel__nav { justify-content: space-between; gap: 15px; font-size: 11px; }
  .login-brand--mobile { display: inline-flex; font-size: 23px; }
  .login-brand--mobile .login-brand__mark { width: 33px; height: 34px; border-radius: 10px; }
  .login-panel__nav > a:last-child svg { display: none; }
  .login-panel__content { max-width: 400px; padding: 52px 0 40px; }
  .login-panel h1 { font-size: 29px; }
  .login-form__field { margin-bottom: 20px; }
  .login-form__field label { font-size: 12px; }
  :is(#seller-login, #seller-forgotten, #seller-reset) .login-form__input input { height: 50px; min-height: 50px; font-size: 13px; }
  :is(#seller-login, #seller-forgotten, #seller-reset) .login-panel__google, :is(#seller-login, #seller-forgotten, #seller-reset) .login-form__submit { min-height: 50px; font-size: 13px; }
  .login-form__remember { margin-bottom: 24px; }
  .login-panel__register { font-size: 12px; }
}
@media (max-width: 360px) { .login-panel { padding: 22px 20px 18px; } .login-panel h1 { font-size: 27px; } .login-panel__content { padding-top: 40px; } .login-brand--mobile { font-size: 21px; } }
@media (prefers-reduced-motion: reduce) { :is(#seller-login, #seller-forgotten, #seller-reset) *, :is(#seller-login, #seller-forgotten, #seller-reset) *::before, :is(#seller-login, #seller-forgotten, #seller-reset) *::after { transition: none !important; } }
