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

body.seller-auth-route:has(:is(#seller-register, #seller-register-otp)),
body.seller-auth-route:has(:is(#seller-register, #seller-register-otp)) .seller-shell__content { background: #fcfdfb; }
body.seller-auth-route:has(:is(#seller-register, #seller-register-otp)) .seller-shell { max-width: none; }
body.seller-layout .seller-shell__content > :is(#seller-register, #seller-register-otp) {
  display: grid; grid-template-columns: 41% 59%; align-items: start;
  box-sizing: border-box; max-width: 1600px; min-height: 100svh; margin: 0 auto; padding: 16px;
  background: #fcfdfb !important; color: #172f31; font: 14px/1.5 'DM Sans', sans-serif;
}
:is(#seller-register, #seller-register-otp) *, :is(#seller-register, #seller-register-otp) *::before, :is(#seller-register, #seller-register-otp) *::after { box-sizing: border-box; }
:is(#seller-register, #seller-register-otp) a { text-decoration: none; }
:is(#seller-register, #seller-register-otp) button, :is(#seller-register, #seller-register-otp) input { font: inherit; }
:is(#seller-register, #seller-register-otp) a:focus-visible, :is(#seller-register, #seller-register-otp) button:focus-visible, :is(#seller-register, #seller-register-otp) input:focus-visible { outline: 2px solid #b44b23; outline-offset: 3px; }

.register-story {
  position: sticky; top: 16px; display: flex; flex-direction: column; overflow: hidden;
  min-height: calc(100svh - 32px); padding: 40px 40px 32px; border-radius: 22px;
  background: #143f39 radial-gradient(ellipse at 10% 75%, #326d585c, transparent 65%); color: white;
}
.register-brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; color: #173f35; font: 800 24px/1 'Manrope', sans-serif; letter-spacing: -.055em; }
:is(#seller-register, #seller-register-otp) .register-brand--light { color: white; }
.register-brand--mobile { display: none; }
.register-brand__mark { display: grid; place-items: center; overflow: hidden; width: 36px; height: 36px; border-radius: 11px; background: #fff; box-shadow: 0 3px 8px #082b2322; }
.register-brand__mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.register-brand__dot { color: #f5b17e; }
.register-story__copy { position: relative; z-index: 1; margin-top: 56px; }
.register-story__eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; color: #c7ddd4; font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.register-story__eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #f5b17e; }
.register-story__copy h2 { margin: 20px 0 0; font: 800 clamp(31px,3.45vw,52px)/1.13 'Manrope', sans-serif; letter-spacing: -.045em; }
.register-story__copy h2 span { color: #f5b17e; }
.register-story__copy p { max-width: 330px; margin: 16px 0 0; color: #c7ddd4; font-size: 14px; line-height: 28px; }
.register-story__foot { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin: auto 0 0; color: #c7ddd4; font-size: 12px; }
.register-story__foot svg { width: 16px; height: 16px; }

.register-preview { position: relative; z-index: 1; width: min(100%,410px); margin: 48px auto 56px; padding: 14px; transform: rotate(-3deg); border: 1px solid #ffffff4d; border-radius: 15px; background: #f9fcf9; color: #173f35; box-shadow: 0 22px 58px #061f2859; }
.register-preview__browser { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border-radius: 8px; background: #eaf1e8; font-size: 9px; }
.register-preview__browser > span { display: flex; gap: 4px; }
.register-preview__browser > span i { width: 6px; height: 6px; border-radius: 50%; background: #c7d6c6; }
.register-preview__browser > span i:first-child { background: #ed9872; }
.register-preview__browser strong { display: flex; align-items: center; min-width: 0; gap: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; }
.register-preview__browser svg { flex: none; width: 12px; height: 12px; }
.register-preview__nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; }
.register-preview__nav strong { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.register-preview__nav strong svg { width: 16px; height: 16px; color: #bf4f20; }
.register-preview__nav span { color: #586f61; font-size: 8px; }
.register-preview__hero { padding: 16px; border-radius: 9px; background: #dfece1; }
.register-preview__hero span { display: block; color: #446a55; font-size: 8px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.register-preview__hero strong { display: block; margin-top: 4px; font: 800 clamp(13px,1.45vw,21px)/1.3 'Manrope', sans-serif; letter-spacing: -.025em; }
.register-preview__products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.register-preview__product { overflow: hidden; border: 1px solid #e3eae2; border-radius: 8px; background: white; }
.register-preview__picture { display: grid; place-items: center; height: 72px; }
.register-preview__picture--bag { background: #f5e8d8; } .register-preview__picture--mug { background: #e3ece3; }
.register-preview__picture svg { width: auto; height: 62px; }
.register-preview__product > strong { display: block; padding: 8px 10px; font-size: 9px; }
.register-preview__product small { display: block; margin-top: 2px; color: #617267; font-size: 8px; font-weight: 400; }
.register-preview__toast { position: absolute; right: -8px; bottom: -24px; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border: 1px solid #e6eee5; border-radius: 12px; background: white; box-shadow: 0 8px 30px #072f2d35; }
.register-preview__toast > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #eaf5ed; color: #32714e; }
.register-preview__toast svg { width: 16px; height: 16px; }
.register-preview__toast strong, .register-preview__toast small { display: block; white-space: nowrap; }
.register-preview__toast strong { font-size: 10px; } .register-preview__toast small { margin-top: 2px; color: #63776c; font-size: 8px; }

.register-panel { display: flex; flex-direction: column; min-width: 0; min-height: calc(100svh - 32px); padding: 20px 40px 20px; }
.register-panel__nav { display: flex; align-items: center; justify-content: end; gap: 12px; }
:is(#seller-register, #seller-register-otp) .register-panel__help { display: flex; align-items: center; gap: 6px; min-height: 40px; color: #4a6558; font-size: 12px; font-weight: 600; }
:is(#seller-register, #seller-register-otp) .register-panel__help:hover { text-decoration: underline; }
.register-panel__help svg { width: 16px; height: 16px; }
.register-panel__content { width: 100%; max-width: 544px; margin: 0 auto; padding: 32px 0; }
.register-panel__badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid #e2ebe0; border-radius: 6px; background: #f0f5ed; color: #4a6953; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.register-panel__badge svg { width: 14px; height: 14px; }
.register-panel h1 { margin: 14px 0 0; font: 800 36px/1.25 'Manrope', sans-serif; letter-spacing: -.045em; }
.register-panel__intro { margin: 8px 0 0; color: #596962; font-size: 14px; line-height: 1.625; }
.register-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; }
.register-panel__alert svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.register-panel__alert--error { border-color: #f2c7b8; background: #fff4ee; color: #a64219; }
.register-panel__alert--success { border-color: #bddfc9; background: #f0faf2; color: #286847; }

.register-form { margin-top: 28px; }
.register-form__section { min-width: 0; margin: 0; padding: 0; border: 0; }
.register-form__section + .register-form__section { margin-top: 20px; }
.register-form__section legend { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0; padding: 0 0 10px; border-bottom: 1px solid #e2eae3; color: #172f31; font: 800 15px/1.5 'Manrope', sans-serif; letter-spacing: -.025em; }
.register-form__section legend span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: #eaf2e9; color: #427153; font: 700 10px/1 'DM Sans', sans-serif; letter-spacing: 0; }
.register-form__fields { display: grid; gap: 14px; margin-top: 12px; }
.register-form__fields--account { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 14px; }
.register-form__field { min-width: 0; }
.register-form__field--full { grid-column: 1 / -1; }
.register-form__field > label, .register-form__label-row label { display: block; margin-bottom: 6px; color: #3b5347; font-size: 12px; font-weight: 600; }
.register-form__label-row { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.register-form__label-row label { margin: 0; }
:is(#seller-register, #seller-register-otp) .register-form__field > input, :is(#seller-register, #seller-register-otp) .register-form__password > input { display: block; width: 100%; height: 44px; min-height: 44px; padding: 0 12px; border: 1px solid #dce5df; border-radius: 8px; background: white; color: #172f31; font-size: 14px; transition: border-color .15s,box-shadow .15s; }
:is(#seller-register, #seller-register-otp) .register-form__field input::placeholder { color: #75837b; }
:is(#seller-register, #seller-register-otp) .register-form__field input:hover { border-color: #aebfb2; }
:is(#seller-register, #seller-register-otp) .register-form__field input:focus { outline: none; border-color: #cb6d3d; box-shadow: 0 0 0 3px #fbe9df; }
:is(#seller-register, #seller-register-otp) .register-form__field input[aria-invalid="true"] { border-color: #c24f2e; }
:is(#seller-register, #seller-register-otp) .register-form__field input[readonly] { background: #f3f7f1; }
:is(#seller-register, #seller-register-otp) .register-form__info-toggle { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #617b6c; cursor: pointer; }
:is(#seller-register, #seller-register-otp) .register-form__info-toggle:hover { background: #edf4ed; }
.register-form__info-toggle svg { width: 16px; height: 16px; }
.register-form__domain { display: flex; align-items: stretch; overflow: hidden; min-height: 44px; border: 1px solid #dce5df; border-radius: 8px; background: white; transition: border-color .15s,box-shadow .15s; }
.register-form__domain:focus-within { border-color: #cb6d3d; box-shadow: 0 0 0 3px #fbe9df; }
.register-form__domain > svg { flex: none; width: 16px; height: 16px; align-self: center; margin-left: 12px; color: #6e8476; }
:is(#seller-register, #seller-register-otp) .register-form__domain input { flex: 1; width: 100%; min-width: 0; height: 42px; padding: 0 8px; border: 0; background: transparent; color: #172f31; font-size: 14px; outline: none; box-shadow: none; }
.register-form__domain span { display: flex; align-items: center; flex: none; padding: 0 12px; border-left: 1px solid #e5ece6; background: #f2f6f0; color: #476357; font-size: 12px; font-weight: 600; }
.register-form__hint { margin: 6px 0 0; color: #5e7166; font-size: 12px; line-height: 1.625; }
.register-form__info { margin: 8px 0 0; padding: 10px 12px; border-radius: 8px; background: #eef5ee; color: #3f5f50; font-size: 12px; line-height: 1.625; }
.register-form__info[hidden] { display: none; }
.register-form__error { margin: 6px 0 0; color: #b74422; font-size: 12px; line-height: 1.5; }
.register-form__password { position: relative; }
:is(#seller-register, #seller-register-otp) .register-form__password > input { padding-right: 44px; }
:is(#seller-register, #seller-register-otp) .register-form__password-toggle { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #5f7a6a; cursor: pointer; }
:is(#seller-register, #seller-register-otp) .register-form__password-toggle:hover { background: #edf4ed; }
.register-form__password-toggle svg { width: 16px; height: 16px; }
.register-form__notice { display: flex; align-items: start; gap: 10px; margin-top: 20px; padding: 10px 12px; border: 1px solid #e3ebe3; border-radius: 8px; background: #f3f7f1; color: #3d5c50; font-size: 12px; line-height: 1.625; }
.register-form__notice svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: #527a62; }
.register-form__agreement { display: flex; align-items: start; gap: 10px; margin-top: 14px; color: #4b5f54; font-size: 12px; line-height: 1.625; }
:is(#seller-register, #seller-register-otp) .register-form__agreement input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: #b64b20; }
.register-form__agreement label { cursor: pointer; }
:is(#seller-register, #seller-register-otp) .register-form__agreement a { color: #a33d19; font-weight: 700; }
:is(#seller-register, #seller-register-otp) .register-form__agreement a:hover { text-decoration: underline; }
:is(#seller-register, #seller-register-otp) .register-form__submit { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 16px; padding: 10px 16px; border: 0; border-radius: 8px; background: #bd4e20; color: white; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s; }
:is(#seller-register, #seller-register-otp) .register-form__submit:hover:not(:disabled) { background: #a73e16; }
:is(#seller-register, #seller-register-otp) .register-form__submit:disabled { background: #e9ece7; color: #59675f; cursor: not-allowed; }
.register-form__submit svg { width: 16px; height: 16px; }
.register-panel__divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #65766d; font-size: 11px; }
.register-panel__divider::before, .register-panel__divider::after { content: ''; flex: 1; height: 1px; background: #e0e9e1; }
:is(#seller-register, #seller-register-otp) .register-panel__google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 16px; border: 1px solid #dce5df; border-radius: 8px; background: white; color: #294739; font-size: 14px; font-weight: 600; transition: background .15s; }
:is(#seller-register, #seller-register-otp) .register-panel__google:hover { background: #f2f6f1; }
.register-panel__login { margin: 20px 0 0; color: #566b5f; font-size: 14px; text-align: center; }
:is(#seller-register, #seller-register-otp) .register-panel__login a { color: #a33d19; font-weight: 700; }
:is(#seller-register, #seller-register-otp) .register-panel__login a:hover { text-decoration: underline; }
.register-panel__footer { margin-top: auto; color: #68776f; font-size: 11px; line-height: 1.625; text-align: center; }

/* WhatsApp verification follows the registration layout. */
.otp-preview { position: relative; z-index: 1; width: min(100%, 410px); margin: 48px auto 56px; padding: 26px; transform: rotate(-3deg); border: 1px solid #ffffff4d; border-radius: 15px; background: #f9fcf9; color: #173f35; box-shadow: 0 22px 58px #061f2859; }
.otp-preview__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #eaf5ed; color: #32714e; }
.otp-preview__icon svg { width: 22px; height: 22px; }
.otp-preview__eyebrow { display: block; margin-top: 22px; color: #527a62; font-size: 9px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.otp-preview > strong { display: block; margin-top: 7px; font: 800 19px/1.3 'Manrope', sans-serif; letter-spacing: -.5px; }
.otp-preview > p { margin: 9px 0 20px; color: #617267; font-size: 11px; line-height: 1.7; }
.otp-preview__digits { display: flex; gap: 8px; }
.otp-preview__digits i { flex: 1; height: 34px; border: 1px solid #dce8de; border-radius: 7px; background: #f2f6f0; }
.otp-preview__digits i:nth-child(3) { margin-right: 8px; }
.otp-preview__foot { display: flex; align-items: center; gap: 6px; margin-top: 20px; padding-top: 14px; border-top: 1px solid #e3ebe3; color: #527a62; font-size: 9px; }
.otp-preview__foot svg { width: 14px; height: 14px; }
.register-panel__content.otp-panel__content { max-width: 430px; margin: auto; }
.otp-form { margin-top: 28px; }
.otp-form > label { display: block; margin-bottom: 8px; color: #3b5347; font-size: 12px; font-weight: 600; }
:is(#seller-register, #seller-register-otp) .otp-form > input[name="otp"] { display: block; width: 100%; height: 56px; padding: 0 16px; border: 1px solid #dce5df; border-radius: 8px; background: #fff; color: #172f31; font: 700 22px/1 'Manrope', sans-serif; letter-spacing: .45em; text-align: center; transition: border-color .15s, box-shadow .15s; }
:is(#seller-register, #seller-register-otp) .otp-form > input[name="otp"]::placeholder { color: #aebfb2; }
:is(#seller-register, #seller-register-otp) .otp-form > input[name="otp"]:focus { outline: none; border-color: #cb6d3d; box-shadow: 0 0 0 3px #fbe9df; }
:is(#seller-register, #seller-register-otp) .otp-form > input[name="otp"][aria-invalid="true"] { border-color: #c24f2e; }
.otp-form__hint { margin: 8px 0 0; color: #65766d; font-size: 11px; }
.otp-resend { margin-top: 20px; color: #566b5f; font-size: 12px; text-align: center; }
:is(#seller-register, #seller-register-otp) .otp-resend button { margin-left: 4px; padding: 0; border: 0; background: none; color: #a33d19; font-weight: 700; cursor: pointer; }
:is(#seller-register, #seller-register-otp) .otp-resend button:hover:not(:disabled) { text-decoration: underline; }
:is(#seller-register, #seller-register-otp) .otp-resend button:disabled { color: #68776f; cursor: default; }
.otp-resend p { min-height: 18px; margin: 7px 0 0; color: #3f5f50; font-size: 11px; line-height: 1.5; }
.otp-panel__secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 20px 0 0; color: #7d9084; font-size: 10px; }
.otp-panel__secure svg { width: 13px; height: 13px; }

@media (min-width: 1280px) { .register-story { padding-right: 56px; padding-left: 56px; } .register-panel { padding-right: 56px; padding-left: 56px; } }
@media (max-width: 1023px) {
  body.seller-layout .seller-shell__content > :is(#seller-register, #seller-register-otp) { display: block; padding: 0; }
  .register-story { display: none; }
  .register-panel { min-height: 100svh; padding: 24px 20px 20px; }
  .register-panel__nav { justify-content: space-between; }
  .register-brand--mobile { display: inline-flex; }
  .register-panel__content { padding-top: 32px; }
}
@media (min-width: 640px) and (max-width: 1023px) { .register-panel { padding-right: 36px; padding-left: 36px; } .register-panel__content { padding-top: 44px; } }
@media (max-width: 639px) { .register-panel h1 { font-size: 30px; } .register-form__fields--account { grid-template-columns: 1fr; } }
@media (max-width: 390px) { .register-brand { font-size: 21px; } .register-brand__mark { width: 32px; height: 32px; } .register-panel__help svg { display: none; } .register-form__domain span { padding: 0 8px; font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { :is(#seller-register, #seller-register-otp) *, :is(#seller-register, #seller-register-otp) *::before, :is(#seller-register, #seller-register-otp) *::after { transition: none !important; } }
