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


:root {
  --brand-red: #d71920;
  --brand-red-dark: #bf151b;
  --brand-red-soft: #fff3f4;
  --ink: #141922;
  --text: #232936;
  --muted: #697386;
  --line: #e5eaf1;
  --panel: #ffffff;
  --panel-soft: #f8fafc;
  --bg: #f4f7fb;
  --shadow: 0 24px 70px rgba(17, 24, 39, .08);
  --shadow-soft: 0 14px 28px rgba(17, 24, 39, .05);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  /*--font-main: Inter, "Segoe UI", Roboto, Arial, sans-serif;*/
}

* {
  box-sizing: border-box
}

body.auth-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-main);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(215, 25, 32, .08), transparent 24%),
    radial-gradient(circle at 92% 85%, rgba(27, 60, 120, .06), transparent 26%),
    linear-gradient(180deg, #f8fafc 0%, #f2f5f9 100%);
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.auth-shell {
  width: min(1360px, 100%);
  display: grid;
  gap: 16px;
}

.auth-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.auth-logo-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.auth-logo-text strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.05em;
}

.auth-logo-text span {
  display: block;
  margin-top: 5px;
  color: #7c8595;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.auth-lang {
  position: relative;
  z-index: 50
}

.auth-lang-btn {
  min-width: 82px;
  height: 44px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.auth-lang.open .auth-lang-btn {
  background: var(--brand-red-soft);
  border-color: #ffd3d6;
  color: var(--brand-red);
}

.auth-lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 220px;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 28px 74px rgba(17, 24, 39, .18);
  display: none;
}

.auth-lang.open .auth-lang-menu {
  display: grid;
  gap: 4px;
}

.auth-lang-menu button {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 6px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.auth-lang-menu button span {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f3f6fa;
  color: #6d7687;
  font-size: 11px;
  font-weight: 900;
}

.auth-lang-menu button strong {
  font-size: 13px;
  font-weight: 800;
}

.auth-lang-menu button:hover,
.auth-lang-menu button.active {
  background: var(--brand-red-soft);
  color: var(--brand-red);
}

.auth-lang-menu button:hover span,
.auth-lang-menu button.active span {
  background: #fff;
  color: var(--brand-red);
}

.auth-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.auth-card-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) 540px;
  min-height: 780px;
}

.auth-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 58px 56px;
  background:
    radial-gradient(circle at top right, rgba(215, 25, 32, .06), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border-right: 1px solid var(--line);
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--brand-red-soft);
  color: var(--brand-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.auth-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-red);
}

.auth-intro h1 {
  margin: 18px 0 14px;
  color: var(--ink);
  font-size: 54px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -.07em;
  max-width: 720px;
}

.auth-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
  max-width: 700px;
}

.auth-summary {
  display: grid;
  gap: 16px;
  margin-top: 34px;
  max-width: 760px;
}

.auth-summary-row {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.auth-summary-icon {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--brand-red-soft), #ffffff);
  border: 1px solid #ffe0e2;
  color: var(--brand-red);
}

.auth-summary-copy small {
  display: block;
  color: #8790a1;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.auth-summary-copy strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 800;
}

.auth-summary-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: none;
}

.auth-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel-soft);
}

.auth-support-copy small {
  display: block;
  color: #8790a1;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.auth-support-copy strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.auth-support-copy p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.auth-contact-trigger,
.auth-mobile-contact {
  flex: none;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #ffd4d7;
  border-radius: 16px;
  background: #fff;
  color: var(--brand-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 900;
}

.auth-mobile-contact {
  display: none
}

.auth-form-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 48px;
  background: #fff;
}

.auth-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.auth-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: 44px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -.06em;
}

.auth-title p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 440px;
}

.auth-switch-link {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 900;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 9px;
}

.form-group label {
  color: #5f697b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.req {
  color: var(--brand-red)
}

.input-wrap {
  position: relative;
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  min-height: 64px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  outline: none;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(17, 24, 39, .03);
  transition: .18s ease;
}

.input-wrap textarea {
  min-height: 132px;
  padding: 18px 20px;
  resize: vertical;
  line-height: 1.6;
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
  color: #9aa3b3;
  font-weight: 500;
}

.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  border-color: #ffb9be;
  box-shadow: 0 0 0 5px rgba(215, 25, 32, .08);
}

.input-wrap.has-toggle input {
  padding-right: 68px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: #f4f7fb;
  color: #8a93a3;
  display: grid;
  place-items: center;
}

.inline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #505a6c;
  font-size: 13px;
  font-weight: 800;
}

.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-red);
}

.form-hint {
  color: #8a93a2;
  font-size: 12.5px;
  line-height: 1.55;
}

.form-hint strong {
  color: var(--brand-red);
}

.auth-submit {
  min-height: 62px;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--brand-red), var(--brand-red-dark));
  color: #fff;
  font-size: 15.5px;
  font-weight: 900;
  letter-spacing: .01em;
  box-shadow: 0 20px 34px rgba(215, 25, 32, .20);
}

.auth-submit:hover {
  transform: translateY(-1px);
}

.auth-footnote {
  margin: 2px 0 0;
  color: #8a93a2;
  font-size: 12.5px;
  line-height: 1.55;
  text-align: center;
}

.auth-footnote a {
  color: var(--brand-red);
  text-decoration: none;
  font-weight: 900;
}

/* modal */
.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(17, 24, 39, .52);
  backdrop-filter: blur(8px);
}

.auth-modal-backdrop.show {
  display: flex
}

.auth-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 34px 80px rgba(0, 0, 0, .24);
  padding: 24px;
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: #768093;
  display: grid;
  place-items: center;
}

.auth-modal-head {
  padding-right: 50px
}

.auth-modal-head span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--brand-red-soft);
  color: var(--brand-red);
  font-size: 11px;
  font-weight: 900;
}

.auth-modal-head h2 {
  margin: 14px 0 8px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.auth-modal-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.contact-grid article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-soft);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--brand-red-soft);
  color: var(--brand-red);
  flex: none;
}

.contact-grid strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.contact-grid span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  padding: 0 14px;
  outline: none;
  color: var(--ink);
  font-size: 14px;
}

.contact-form input {
  min-height: 46px
}

.contact-form textarea {
  min-height: 96px;
  resize: vertical;
  padding-top: 13px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ffc1c5;
  box-shadow: 0 0 0 4px rgba(215, 25, 32, .07);
}

@media(max-width:1180px) {
  .auth-card-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .auth-intro {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 40px 34px;
  }

  .auth-form-area {
    padding: 40px 34px;
  }

  .auth-intro h1 {
    font-size: 44px;
  }
}

@media(max-width:760px) {
  .auth-page {
    padding: 10px;
    align-items: flex-start;
  }

  .auth-shell {
    gap: 10px;
    width: 100%;
  }

  .auth-topbar {
    padding: 12px 14px;
    border-radius: 20px;
  }

  .auth-logo-mark {
    width: 42px;
    height: 42px;
  }

  .auth-logo-text strong {
    font-size: 21px;
  }

  .auth-logo-text span {
    font-size: 10.5px;
  }

  .auth-lang-menu {
    width: min(210px, calc(100vw - 30px));
  }

  .auth-card {
    border-radius: 24px;
  }

  .auth-intro {
    padding: 24px 20px;
    gap: 20px;
  }

  .auth-intro h1 {
    font-size: 32px;
    margin: 16px 0 12px;
  }

  .auth-intro p {
    font-size: 14px;
    line-height: 1.65;
  }

  .auth-summary {
    gap: 12px;
    margin-top: 22px;
  }

  .auth-summary-row {
    grid-template-columns: 54px 1fr;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
  }

  .auth-summary-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .auth-summary-copy strong {
    font-size: 17px;
  }

  .auth-summary-copy p {
    font-size: 13px;
    line-height: 1.58;
  }

  .auth-support {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 18px;
  }

  .auth-contact-trigger {
    display: none
  }

  .auth-mobile-contact {
    display: flex;
    width: 100%;
  }

  .auth-form-area {
    padding: 24px 20px;
  }

  .auth-form-head {
    flex-direction: column;
    margin-bottom: 22px;
  }

  .auth-title h2 {
    font-size: 32px;
  }

  .auth-title p {
    font-size: 14px;
    line-height: 1.6;
  }

  .auth-switch-link {
    width: 100%;
  }

  .auth-grid-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .input-wrap input,
  .input-wrap select,
  .input-wrap textarea {
    min-height: 56px;
    border-radius: 18px;
    padding: 0 16px;
    font-size: 14px;
  }

  .input-wrap textarea {
    min-height: 114px;
    padding: 16px;
  }

  .password-toggle {
    width: 44px;
    height: 44px;
    right: 8px;
  }

  .auth-submit {
    min-height: 58px;
    border-radius: 18px;
  }

  .inline-row {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-modal {
    border-radius: 22px;
    padding: 18px;
  }

  .auth-modal-head h2 {
    font-size: 24px;
  }
}


/* V106/V107 auth variant overrides */

:root {
  --font-main: 'Manrope', 'Inter', 'Segoe UI', Arial, sans-serif;
}

body.auth-body {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%)
}

.auth-shell {
  width: min(1460px, 100%);
  gap: 18px
}

.auth-topbar {
  padding: 18px 24px;
  border-radius: 26px
}

.auth-card {
  border-radius: 38px
}

.auth-card-inner {
  grid-template-columns: minmax(0, 1.16fr) 610px;
  min-height: 830px
}

.auth-intro {
  padding: 64px 60px;
  gap: 32px
}

.auth-intro h1 {
  font-size: 58px;
  line-height: 1.01;
  letter-spacing: -.07em;
  font-weight: 800;
  max-width: 760px
}

.auth-intro p {
  font-size: 17px;
  line-height: 1.8;
  max-width: 720px;
  color: #677285
}

.auth-summary {
  max-width: 780px;
  gap: 18px
}

.auth-summary-row {
  padding: 24px;
  border-radius: 26px
}

.auth-summary-icon {
  width: 70px;
  height: 70px;
  border-radius: 22px
}

.auth-summary-copy small {
  font-size: 11px;
  letter-spacing: .1em
}

.auth-summary-copy strong {
  font-size: 22px;
  font-weight: 800
}

.auth-summary-copy p {
  font-size: 14.5px;
  line-height: 1.72
}

.auth-support {
  padding: 22px 24px;
  border-radius: 26px
}

.auth-support-copy strong {
  font-size: 19px
}

.auth-contact-trigger,
.auth-mobile-contact {
  min-height: 50px;
  padding: 0 20px;
  font-weight: 800
}

.auth-form-area {
  padding: 64px 54px
}

.auth-form-head {
  margin-bottom: 36px
}

.auth-title h2 {
  font-size: 46px;
  letter-spacing: -.06em;
  font-weight: 800
}

.auth-title p {
  font-size: 15.5px;
  line-height: 1.72;
  max-width: 500px
}

.auth-switch-link {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  font-weight: 800
}

.auth-form {
  gap: 20px
}

.auth-grid-2 {
  gap: 18px
}

.form-group label {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #5b6677
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  min-height: 74px;
  padding: 0 22px;
  border-radius: 24px;
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid #dde5ef;
  box-shadow: 0 10px 24px rgba(17, 24, 39, .035);
}

.input-wrap textarea {
  min-height: 160px;
  padding: 20px 22px
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
  font-size: 16px;
  color: #a0a9b8;
  font-weight: 600
}

.input-wrap.has-toggle input {
  padding-right: 76px
}

.password-toggle {
  width: 52px;
  height: 52px;
  right: 11px;
  border-radius: 18px
}

.check {
  font-size: 13.5px;
  font-weight: 700
}

.form-hint {
  font-size: 13px
}

.auth-submit {
  min-height: 68px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 800
}

.auth-footnote {
  font-size: 13px
}

.auth-logo-text strong {
  font-weight: 800
}

.auth-lang-btn {
  font-weight: 800
}

@media (max-width:1180px) {
  .auth-card-inner {
    grid-template-columns: 1fr;
    min-height: 0
  }

  .auth-intro {
    padding: 40px 34px
  }

  .auth-form-area {
    padding: 40px 34px
  }
}

@media (max-width:760px) {
  .auth-intro h1 {
    font-size: 36px
  }

  .auth-title h2 {
    font-size: 34px
  }

  .input-wrap input,
  .input-wrap select,
  .input-wrap textarea {
    min-height: 62px;
    font-size: 15px;
    border-radius: 20px
  }

  .input-wrap textarea {
    min-height: 132px
  }

  .auth-submit {
    min-height: 60px;
    border-radius: 20px
  }
}


/* V108: refined minimal auth, smaller and sweeter proportions */
body.auth-body {
  background:
    radial-gradient(circle at 14% 10%, rgba(215, 25, 32, .06), transparent 22%),
    radial-gradient(circle at 88% 88%, rgba(37, 99, 235, .05), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #f2f5f9 100%);
}

.auth-shell {
  width: min(1320px, 100%);
  gap: 14px;
}

.auth-topbar {
  padding: 14px 18px;
  border-radius: 22px;
}

.auth-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.auth-logo-text strong {
  font-size: 22px;
  letter-spacing: -.045em;
}

.auth-logo-text span {
  font-size: 10.5px;
}

.auth-lang-btn {
  min-width: 78px;
  height: 42px;
}

.auth-card {
  border-radius: 30px;
}

.auth-card-inner {
  grid-template-columns: minmax(0, 1.08fr) 560px;
  min-height: 720px;
}

.auth-intro {
  padding: 46px 42px;
  gap: 22px;
}

.auth-badge {
  min-height: 32px;
  padding: 0 12px;
  font-size: 10.5px;
}

.auth-intro h1 {
  font-size: 46px;
  line-height: 1.04;
  margin: 16px 0 12px;
  max-width: 640px;
}

.auth-intro p {
  font-size: 15px;
  line-height: 1.72;
  max-width: 620px;
}

.auth-summary {
  max-width: 670px;
  gap: 12px;
  margin-top: 24px;
}

.auth-summary-row {
  grid-template-columns: 58px 1fr;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
}

.auth-summary-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.auth-summary-copy small {
  font-size: 10px;
}

.auth-summary-copy strong {
  font-size: 18px;
  margin-top: 6px;
}

.auth-summary-copy p {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.62;
}

.auth-support {
  padding: 16px 18px;
  border-radius: 20px;
  gap: 14px;
}

.auth-support-copy strong {
  font-size: 16px;
}

.auth-support-copy p {
  font-size: 13px;
}

.auth-contact-trigger,
.auth-mobile-contact {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 12px;
}

.auth-form-area {
  padding: 46px 40px;
}

.auth-form-head {
  margin-bottom: 24px;
}

.auth-title h2 {
  font-size: 38px;
  line-height: 1.04;
}

.auth-title p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.62;
  max-width: 390px;
}

.auth-switch-link {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 12px;
}

.auth-form {
  gap: 16px;
}

.auth-grid-2 {
  gap: 14px;
}

.form-group label {
  font-size: 11px;
  letter-spacing: .08em;
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  min-height: 58px;
  padding: 0 18px;
  border-radius: 18px;
  font-size: 14.5px;
}

.input-wrap textarea {
  min-height: 126px;
  padding: 16px 18px;
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
  font-size: 14.5px;
}

.input-wrap.has-toggle input {
  padding-right: 68px;
}

.password-toggle {
  width: 44px;
  height: 44px;
  right: 8px;
  border-radius: 14px;
}

.inline-row {
  gap: 12px;
}

.check {
  font-size: 12.5px;
}

.form-hint {
  font-size: 12px;
}

.auth-submit {
  min-height: 56px;
  border-radius: 18px;
  font-size: 15px;
}

.auth-footnote {
  font-size: 12px;
}

@media (max-width:1180px) {
  .auth-card-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .auth-intro {
    padding: 34px 28px;
  }

  .auth-form-area {
    padding: 34px 28px;
  }
}

@media (max-width:760px) {
  .auth-page {
    padding: 10px;
  }

  .auth-shell {
    gap: 10px;
  }

  .auth-topbar {
    padding: 12px 14px;
    border-radius: 18px;
  }

  .auth-card {
    border-radius: 22px;
  }

  .auth-intro {
    padding: 22px 18px;
    gap: 16px;
  }

  .auth-intro h1 {
    font-size: 31px;
    margin: 14px 0 10px;
  }

  .auth-intro p {
    font-size: 13.5px;
  }

  .auth-summary {
    margin-top: 16px;
    gap: 10px;
  }

  .auth-summary-row {
    grid-template-columns: 50px 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .auth-summary-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  .auth-summary-copy strong {
    font-size: 16px;
  }

  .auth-summary-copy p {
    font-size: 12.5px;
  }

  .auth-support {
    padding: 14px;
    border-radius: 16px;
  }

  .auth-form-area {
    padding: 22px 18px;
  }

  .auth-title h2 {
    font-size: 30px;
  }

  .auth-title p {
    font-size: 13.5px;
  }

  .input-wrap input,
  .input-wrap select,
  .input-wrap textarea {
    min-height: 54px;
    border-radius: 16px;
    font-size: 14px;
  }

  .input-wrap textarea {
    min-height: 108px;
  }

  .password-toggle {
    width: 42px;
    height: 42px;
  }

  .auth-submit {
    min-height: 54px;
    border-radius: 16px;
  }
}


/* V109: more compact auth + overflow fixes */
body.auth-body {
  overflow-x: hidden;
}

.auth-page {
  padding: 16px;
}

.auth-shell {
  width: min(1240px, 100%);
  gap: 12px;
}

.auth-topbar {
  padding: 12px 16px;
  border-radius: 20px;
  gap: 12px;
}

.auth-logo {
  min-width: 0;
}

.auth-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
}

.auth-logo-text strong {
  font-size: 20px;
}

.auth-logo-text span {
  font-size: 10px;
}

.auth-lang-btn {
  min-width: 74px;
  height: 40px;
  border-radius: 14px;
}

.auth-card {
  border-radius: 26px;
}

.auth-card-inner,
.auth-card-inner>section {
  min-width: 0;
}

.auth-card-inner {
  grid-template-columns: minmax(0, 1fr) 500px;
  min-height: 640px;
}

.auth-intro {
  padding: 34px 30px;
  gap: 18px;
}

.auth-badge {
  min-height: 30px;
  padding: 0 11px;
  font-size: 10px;
}

.auth-intro h1 {
  font-size: 38px;
  line-height: 1.05;
  margin: 14px 0 10px;
  max-width: 560px;
}

.auth-intro p {
  font-size: 14px;
  line-height: 1.66;
  max-width: 560px;
}

.auth-summary {
  max-width: 600px;
  gap: 10px;
  margin-top: 18px;
}

.auth-summary-row {
  grid-template-columns: 50px 1fr;
  gap: 12px;
  padding: 15px;
  border-radius: 17px;
}

.auth-summary-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
}

.auth-summary-copy small {
  font-size: 9px;
}

.auth-summary-copy strong {
  font-size: 16px;
  line-height: 1.28;
}

.auth-summary-copy p {
  font-size: 12.5px;
  line-height: 1.52;
}

.auth-support {
  padding: 14px 15px;
  border-radius: 18px;
  gap: 12px;
}

.auth-support-copy strong {
  font-size: 15px;
  line-height: 1.3;
}

.auth-support-copy p {
  font-size: 12.5px;
  line-height: 1.5;
}

.auth-contact-trigger,
.auth-mobile-contact {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 13px;
  font-size: 11.5px;
  white-space: nowrap;
}

.auth-form-area {
  padding: 34px 28px;
}

.auth-form-head {
  margin-bottom: 18px;
  gap: 12px;
}

.auth-title {
  min-width: 0;
}

.auth-title h2 {
  font-size: 32px;
  line-height: 1.05;
}

.auth-title p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 340px;
}

.auth-switch-link {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 13px;
  font-size: 11.5px;
  white-space: nowrap;
}

.auth-form {
  gap: 14px;
}

.auth-grid-2 {
  gap: 12px;
}

.form-group {
  gap: 7px;
  min-width: 0;
}

.form-group label {
  font-size: 10.5px;
  letter-spacing: .07em;
}

.input-wrap {
  min-width: 0;
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  min-height: 52px;
  padding: 0 15px;
  border-radius: 16px;
  font-size: 13.5px;
  max-width: 100%;
}

.input-wrap textarea {
  min-height: 112px;
  padding: 14px 15px;
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
  font-size: 13.5px;
}

.input-wrap.has-toggle input {
  padding-right: 58px;
}

.password-toggle {
  width: 38px;
  height: 38px;
  right: 7px;
  border-radius: 12px;
}

.inline-row {
  gap: 10px;
}

.inline-row>* {
  min-width: 0;
}

.check {
  font-size: 12px;
}

.form-hint {
  font-size: 11.5px;
}

.auth-submit {
  min-height: 50px;
  border-radius: 16px;
  font-size: 14px;
}

.auth-footnote {
  font-size: 11.5px;
}

.auth-modal {
  width: min(520px, 100%);
  border-radius: 24px;
}

.contact-form input,
.contact-form textarea {
  max-width: 100%;
}

@media (max-width: 1080px) {
  .auth-card-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .auth-intro {
    padding: 28px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .auth-form-area {
    padding: 28px 24px;
  }

  .auth-title p {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .auth-page {
    padding: 8px;
  }

  .auth-shell {
    gap: 8px;
  }

  .auth-topbar {
    padding: 10px 12px;
    border-radius: 16px;
  }

  .auth-logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .auth-logo-text strong {
    font-size: 18px;
  }

  .auth-logo-text span {
    font-size: 9px;
  }

  .auth-lang-menu {
    width: min(200px, calc(100vw - 24px));
    right: 0;
  }

  .auth-card {
    border-radius: 20px;
  }

  .auth-intro {
    padding: 18px 16px;
    gap: 14px;
  }

  .auth-intro h1 {
    font-size: 27px;
    margin: 10px 0 8px;
  }

  .auth-intro p {
    font-size: 13px;
  }

  .auth-summary-row {
    grid-template-columns: 46px 1fr;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
  }

  .auth-summary-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .auth-summary-copy strong {
    font-size: 14.5px;
  }

  .auth-summary-copy p {
    font-size: 12px;
  }

  .auth-support {
    padding: 12px;
    border-radius: 14px;
  }

  .auth-form-area {
    padding: 18px 16px;
  }

  .auth-form-head {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 16px;
  }

  .auth-title h2 {
    font-size: 26px;
  }

  .auth-title p {
    font-size: 13px;
  }

  .auth-switch-link,
  .auth-mobile-contact {
    width: 100%;
  }

  .auth-grid-2 {
    grid-template-columns: 1fr;
  }

  .input-wrap input,
  .input-wrap select,
  .input-wrap textarea {
    min-height: 50px;
    font-size: 13px;
    border-radius: 15px;
  }

  .input-wrap textarea {
    min-height: 98px;
  }

  .password-toggle {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .inline-row {
    flex-direction: column;
    align-items: stretch;
  }

  .check {
    font-size: 11.5px;
  }

  .auth-submit {
    min-height: 48px;
    font-size: 13.5px;
  }

  .auth-footnote {
    font-size: 11px;
  }
}


/* V110: language order polish + contact channels */
.auth-contact-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.auth-contact-channels {
  display: flex;
  align-items: center;
  gap: 7px;
}

.auth-contact-channels a,
.contact-channel-row a {
  text-decoration: none;
}

.auth-contact-channels a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #ffd7da;
  border-radius: 14px;
  background: #fff;
  color: var(--brand-red, #d71920);
  box-shadow: 0 10px 22px rgba(17, 24, 39, .05);
}

.auth-contact-channels a:hover,
.contact-channel-row a:hover {
  background: var(--brand-red-soft, #fff3f4);
  color: var(--brand-red, #d71920);
}

.contact-channel-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 16px 0 14px;
}

.contact-channel-row a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line, #e5eaf1);
  border-radius: 15px;
  background: var(--panel-soft, #f8fafc);
  color: #303846;
  font-size: 12px;
  font-weight: 900;
}

.auth-lang-menu button {
  cursor: pointer;
}

@media(max-width:760px) {
  .auth-contact-actions {
    width: 100%;
    justify-content: stretch;
    flex-direction: column;
    align-items: stretch;
  }

  .auth-contact-channels {
    justify-content: center;
  }

  .auth-contact-channels a {
    flex: 1;
    height: 42px;
  }

  .contact-channel-row {
    grid-template-columns: 1fr;
  }
}


/* V112: login policy removed spacing tidy */
.auth-form .auth-submit:last-of-type {
  margin-bottom: 0;
}