:root {
  --red: #ec0612;
  --red-dark: #c9000a;
  --red-2: #ff2430;
  --dark: #0a0b10;
  --text: #20222a;
  --muted: #777b87;
  --line: #dedfe5;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, .78);
  --shadow: 0 30px 90px rgba(8, 10, 18, .14);
  --shadow-card: 0 22px 60px rgba(25, 26, 32, 0.10);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #f7f8fb;
}

button,
input {
  font: inherit;
}

a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  color: var(--red-dark);
}

.fw-black {
  font-weight: 850;
}

.layout-flash {
  position: fixed;
  top: 18px;
  left: 50%;
  width: min(92vw, 560px);
  transform: translateX(-50%);
  z-index: 10050;
}

.layout-flash:empty {
  display: none;
}

.layout-flash .alert {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .12);
}


/* =========================================================
   AUTH LAYOUT - commun login + signup
   ========================================================= */

@media (min-width: 992px) {
  body {
    overflow-y: auto;
  }

  .auth-row {
    min-height: 100vh;
  }
}

.auth-row {
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
}

.auth-row>.hero-panel,
.auth-row>.form-panel {
  width: 50%;
}

.brand-logo {
  display: block;
  height: auto;
}


/* =========================================================
   LOGIN
   ========================================================= */

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 2rem;
  background: #f3f0ee;
}

.hero-bg,
.hero-red-glow {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.48) 55%, rgba(255, 255, 255, 0.12) 100%),
    url("../images/studio-bg.png");
  background-size: cover;
  background-position: center;
}

.hero-red-glow {
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 0, 12, 0.18), transparent 34%),
    radial-gradient(circle at 90% 78%, rgba(255, 0, 12, 0.22), transparent 44%),
    linear-gradient(90deg, transparent 0%, rgba(236, 6, 18, 0.10) 70%, rgba(236, 6, 18, 0.18) 100%);
  pointer-events: none;
}

.hero-content {
  z-index: 2;
  width: min(560px, 100%);
}

.hero-logo {
  width: clamp(126px, 10vw, 160px);
  margin-bottom: clamp(1.1rem, 2.2vh, 1.8rem);
}

.hero-title {
  color: #06070a;
  font-size: clamp(2.25rem, 3.3vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.065em;
}

.hero-title span {
  color: var(--red);
}

.hero-lead {
  color: #1e2026;
  font-size: clamp(1rem, 1.15vw, 1.13rem);
  line-height: 1.35;
  font-weight: 760;
}

.hero-copy {
  color: #454854;
  font-size: clamp(.95rem, 1vw, 1.05rem);
  line-height: 1.42;
}

.split-info {
  width: min(500px, 100%);
  margin-top: clamp(1.4rem, 4vh, 2.4rem);
}

.round-icon,
.feature span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(236, 6, 18, 0.09);
}

.round-icon {
  width: 48px;
  height: 48px;
  color: var(--red);
  font-size: 1.22rem;
}

.split-info h2 {
  margin: 0 0 .45rem;
  color: var(--red);
  font-size: 1.03rem;
  font-weight: 850;
}

.split-info p {
  margin: 0;
  color: #262932;
  font-size: .94rem;
  line-height: 1.36;
  font-weight: 600;
}

.feature-row {
  margin-top: clamp(1.4rem, 4vh, 2.35rem);
}

.feature {
  gap: .75rem;
}

.feature span {
  width: 46px;
  height: 46px;
  color: #1e2026;
  font-size: 1.05rem;
  flex: 0 0 auto;
}

.feature p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.12;
  font-weight: 760;
}

.form-panel {
  overflow-y: auto;
  min-height: 100vh;
  padding: clamp(1.4rem, 3vw, 2.6rem);
  background:
    radial-gradient(circle at 12% 12%, rgba(236, 6, 18, 0.045), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f7f8fb 100%);
}

.login-card {
  max-width: 540px;
  padding: clamp(1.65rem, 4vh, 2.55rem) clamp(1.7rem, 4vw, 3rem) clamp(1.35rem, 3vh, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-card);
}

.card-logo {
  width: clamp(105px, 8vw, 122px);
  margin-bottom: clamp(1rem, 2vh, 1.35rem);
}

.title-block {
  margin-bottom: clamp(1.35rem, 3.2vh, 2rem);
}

.title-block h2 {
  color: #15171d;
  font-size: clamp(1.8rem, 2.2vw, 2.05rem);
  line-height: 1.1;
  letter-spacing: -.04em;
}

.title-block p {
  color: var(--muted);
  font-size: .95rem;
  font-weight: 560;
}

.login-form {
  display: grid;
  gap: clamp(.72rem, 1.8vh, 1rem);
}

.form-label {
  margin-bottom: .45rem;
  color: #252832;
  font-size: .92rem;
  font-weight: 780;
}

.input-shell {
  height: 50px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.input-shell:focus-within {
  border-color: rgba(236, 6, 18, 0.55);
  box-shadow: 0 0 0 5px rgba(236, 6, 18, 0.08);
}

.input-group-text,
.form-control,
.show-password {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.input-group-text {
  width: 48px;
  justify-content: center;
  color: #575b66;
}

.form-control {
  height: 100%;
  color: var(--text);
  font-size: .98rem;
}

.form-control::placeholder {
  color: #a1a5af;
  font-weight: 600;
}

.show-password {
  width: 46px;
  color: #555965;
}

.forgot-link {
  margin-top: -.2rem;
  font-size: .92rem;
}

.login-button {
  height: 50px;
  border: 0;
  border-radius: 12px;
  color: #fff !important;
  background: linear-gradient(180deg, #ff0714 0%, #e0000c 100%);
  font-size: 1rem;
  font-weight: 850;
  box-shadow: 0 14px 28px rgba(236, 6, 18, 0.20);
  transition: transform .2s ease, box-shadow .2s ease;
}

.login-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(236, 6, 18, 0.26);
}

.register2-card {
  position: relative;
  width: min(420px, 100%);
  max-width: 420px;
  padding: clamp(1.35rem, 3vh, 2rem);
  border-radius: 28px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 30px 80px rgba(18, 22, 30, .10);
}

.register2-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.register2-brand img {
  width: 152px;
  height: auto;
}

.register2-back {
  position: absolute;
  top: 1.6rem;
  left: 1.25rem;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #11131a;
  font-size: .95rem;
}

.register2-header {
  text-align: left;
}

.signup-card .register2-header .eyebrow {
  margin-top: 0;
  font-size: .78rem;
  letter-spacing: .12em;
}

.signup-card .register2-header h2,
.signup-card .register2-centered h2 {
  letter-spacing: -.04em;
}

.signup-card .register2-header h2 {
  font-size: clamp(2rem, 7vw, 2.55rem);
  line-height: 1.12;
}

.signup-card .register2-header h2 span,
.signup-card .register2-centered strong,
.register2-consent strong {
  color: var(--red);
}

.register2-centered {
  text-align: center;
}

.signup-card .register2-centered h2 {
  font-size: clamp(1.8rem, 6vw, 2.25rem);
  line-height: 1.08;
}

.register2-stepper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  column-gap: .95rem;
  margin: 1.65rem 0 1.45rem;
}

.register2-stepper span {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .45rem;
  color: #69707c;
  font-size: .72rem;
  font-weight: 760;
  text-align: center;
}

.register2-stepper span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  left: calc(50% + 24px);
  width: calc(100% - 18px);
  height: 2px;
  background: #d8dce4;
}

.register2-stepper i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #11131a;
  background: #eef0f4;
  font-size: .78rem;
  font-style: normal;
  font-weight: 900;
}

.register2-stepper .is-active {
  color: var(--red);
}

.register2-stepper .is-active i {
  color: #fff;
  background: var(--red);
}

.register2-stepper .is-done i {
  color: #161920;
  background: #eef0f4;
  border: 1px solid #d8dce4;
}

.register2-stepper-compact {
  margin-top: .55rem;
}

.register2-form {
  gap: 1rem;
}

.register2-section-title {
  margin: .2rem 0 -.15rem;
  color: #11131a;
  font-size: 1rem;
  font-weight: 900;
}

.register2-role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}

.register2-role-card {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 176px;
  padding: 1.25rem .85rem 1rem;
  border: 1px solid #dfe3eb;
  border-radius: 12px;
  color: #14171f;
  background: #fff;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.register2-role-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: .75rem;
  border-radius: 50%;
  color: #222630;
  background: rgba(236, 6, 18, .06);
  font-size: 1.45rem;
}

.register2-role-card strong {
  font-size: 1rem;
  font-weight: 900;
}

.register2-role-card small {
  max-width: 120px;
  margin-top: .45rem;
  color: #252a35;
  font-size: .74rem;
  line-height: 1.35;
  font-weight: 600;
}

.register2-role-card em {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: .8rem;
  border: 1px solid #c5cad4;
  border-radius: 50%;
  color: transparent;
  font-size: .7rem;
  font-style: normal;
}

.btn-check:checked+.register2-role-card {
  border-color: var(--red);
  box-shadow: 0 18px 36px rgba(236, 6, 18, .10);
}

.btn-check:checked+.register2-role-card .register2-role-icon,
.btn-check:checked+.register2-role-card em {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.register2-hero-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin: 1.2rem 0 1.35rem;
  border-radius: 50%;
  color: var(--red);
  background: rgba(236, 6, 18, .09);
  font-size: 3rem;
}

.register2-hero-icon small {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 3px solid #fff;
  border-radius: 50%;
  color: var(--red);
  background: rgba(236, 6, 18, .10);
  font-size: .88rem;
}

.register2-code-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .62rem;
  margin: .95rem 0 .65rem;
}

.register2-code-box {
  width: 100%;
  aspect-ratio: 1 / 1.25;
  border: 1px solid #d9dee8;
  border-radius: 10px;
  color: #11131a;
  background: #fff;
  text-align: center;
  font-size: 1.45rem;
  font-weight: 900;
  outline: 0;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.register2-code-box:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(236, 6, 18, .08);
}

.register2-muted {
  margin: 0;
  color: #333846;
  font-size: .88rem;
  font-weight: 600;
}

.register2-muted strong,
.register2-resend-button {
  color: var(--red);
}

.register2-resend-zone {
  display: grid;
  gap: .45rem;
  margin: .15rem 0 .35rem;
}

.register2-resend-form {
  margin: .85rem 0 0;
  text-align: center;
}

.register2-resend-button {
  min-height: 38px;
  padding: .35rem .9rem;
  border: 1px solid rgba(236, 6, 18, .18);
  border-radius: 999px;
  background: transparent;
  font-size: .9rem;
  font-weight: 900;
}

.register2-help {
  margin: .42rem 0 0;
  color: #6f7682;
  font-size: .78rem;
  font-weight: 600;
}

.form-label span {
  color: #6f7682;
  font-weight: 600;
}

.register2-phone-wrap .iti {
  width: 100%;
}

.register2-consent {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 1rem;
  align-items: start;
  cursor: pointer;
}

.register2-consent input {
  width: 22px;
  height: 22px;
  margin-top: .1rem;
  border: 0;
  border-radius: 5px;
  accent-color: var(--red);
}

.register2-consent span {
  color: #171a22;
  font-size: .95rem;
  line-height: 1.45;
  font-weight: 650;
}

.register2-secure-box {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: .85rem;
  align-items: center;
  margin: .9rem 0 .35rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(236, 6, 18, .07);
}

.register2-secure-box>i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: var(--red);
}

.register2-secure-box strong {
  display: block;
  color: #11131a;
  font-size: .95rem;
  font-weight: 900;
}

.register2-secure-box p {
  margin: .15rem 0 0;
  color: #4b515d;
  font-size: .82rem;
  line-height: 1.35;
  font-weight: 600;
}

.register2-success {
  overflow: hidden;
  padding: 2.25rem 1.3rem 1.35rem;
  color: #fff;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .18), transparent 12%),
    linear-gradient(180deg, #f00b18 0%, #c8000b 100%);
  text-align: center;
}

.register2-success-mark {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  color: var(--red);
  background: #fff;
  font-size: 2.65rem;
}

.register2-success h2 {
  margin: 0;
  color: #fff;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 900;
}

.register2-success>p {
  margin: 1rem auto 1.45rem;
  max-width: 310px;
  color: #fff;
  font-size: .98rem;
  line-height: 1.45;
  font-weight: 700;
}

.register2-next-card {
  display: grid;
  gap: .85rem;
  padding: 1.05rem;
  border-radius: 18px;
  color: #11131a;
  background: #fff;
  text-align: left;
}

.register2-next-card>strong {
  font-size: .9rem;
  font-weight: 900;
}

.register2-next-card a {
  display: grid;
  grid-template-columns: 42px 1fr 16px;
  gap: .75rem;
  align-items: center;
  color: #11131a;
}

.register2-next-card a>span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--red);
  background: rgba(236, 6, 18, .08);
}

.register2-next-card b,
.register2-next-card small {
  display: block;
}

.register2-next-card b {
  font-size: .83rem;
  font-weight: 900;
}

.register2-next-card small {
  margin-top: .1rem;
  color: #4d5360;
  font-size: .72rem;
  line-height: 1.25;
  font-weight: 600;
}

.register2-success-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  height: 54px;
  margin-top: 1rem;
  border: 0;
  border-radius: 12px;
  color: var(--red) !important;
  background: #fff;
  font-size: 1rem;
  font-weight: 900;
}

@media (max-width: 420px) {
  .register2-card {
    padding: 1.15rem;
    border-radius: 24px;
  }

  .register2-role-card {
    min-height: 164px;
    padding-inline: .65rem;
  }

  .register2-code-grid {
    gap: .45rem;
  }
}

.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  color: #8b8f99;
  font-size: .86rem;
  font-weight: 700;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.social-button {
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #22252d;
  font-size: .96rem;
  font-weight: 750;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .75rem;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.social-button:hover {
  border-color: rgba(236, 6, 18, 0.28);
  box-shadow: 0 12px 24px rgba(31, 34, 41, 0.07);
  transform: translateY(-1px);
}

.google-icon {
  color: #4285f4;
}

.facebook-icon {
  color: #1877f2;
}

.signup {
  color: #252832;
  font-size: .94rem;
  font-weight: 650;
}

.signup a {
  margin-left: .55rem;
}

.reset-note {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
  font-weight: 560;
}

.reset-complete-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(180deg, #ff0714 0%, #e0000c 100%);
  box-shadow: 0 14px 28px rgba(236, 6, 18, 0.20);
}

.reset-complete h3 {
  margin-bottom: .55rem;
  color: #15171d;
  font-size: 1.35rem;
  font-weight: 850;
}

.reset-complete p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
  font-weight: 560;
}

.legal {
  margin-top: clamp(1.1rem, 2.5vh, 1.9rem);
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.45;
  font-weight: 540;
}

.legal a {
  margin: 0 .25rem;
}

.toggle-password {
  width: 40px;
  justify-content: center;
}

.toggle-password:hover {
  color: var(--red);
}

@media (min-width: 992px) and (max-height: 820px) {
  .hero-title {
    font-size: clamp(2rem, 2.8vw, 3rem);
  }

  .hero-logo {
    width: 128px;
    margin-bottom: 1rem;
  }

  .split-info {
    margin-top: 1.25rem;
  }

  .feature-row {
    margin-top: 1.25rem;
  }

  .round-icon {
    width: 42px;
    height: 42px;
    margin-bottom: .65rem !important;
  }

  .feature span {
    width: 40px;
    height: 40px;
  }

  .split-info p {
    font-size: .87rem;
    line-height: 1.28;
  }

  .login-card {
    padding-top: 1.45rem;
    padding-bottom: 1.2rem;
  }

  .card-logo {
    width: 100px;
    margin-bottom: .8rem;
  }

  .title-block {
    margin-bottom: 1rem;
  }

  .login-form {
    gap: .62rem;
  }

  .input-shell,
  .login-button {
    height: 46px;
  }

  .social-button {
    height: 42px;
  }

  .legal {
    margin-top: .9rem;
  }
}

@media (max-width: 991.98px) {
  body {
    overflow: auto;
  }

  .auth-row>.hero-panel,
  .auth-row>.form-panel {
    width: 100%;
  }

  .hero-panel {
    display: none !important;
  }

  .form-panel {
    min-height: 100vh;
    padding: 2rem 1.5rem;
    background:
      radial-gradient(circle at 20% 0%, rgba(236, 6, 18, 0.10), transparent 32%),
      radial-gradient(circle at 85% 100%, rgba(236, 6, 18, 0.08), transparent 32%),
      #ffffff;
  }

  .login-card {
    max-width: 520px;
    padding: 2rem 0 1.5rem;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
}

@media (max-width: 420px) {
  .form-panel {
    padding: 1.4rem 1rem;
  }

  .signup {
    display: grid;
    gap: .45rem;
  }

  .signup a {
    margin-left: 0;
  }
}


/* =========================================================
   SIGNUP
   ========================================================= */

.signup-card {
  width: min(590px, 100%);
  padding: clamp(1.45rem, 3.5vh, 2.25rem) clamp(1.35rem, 3vw, 2.75rem);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 34px;
  background: var(--glass);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
}

.signup-card .mobile-logo img {
  width: 118px;
  margin-bottom: 1rem;
}

.signup-card .icon-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--red-2), var(--red));
  box-shadow: 0 18px 40px rgba(236, 6, 18, .28);
}

.signup-card .eyebrow {
  margin: .9rem 0 .35rem;
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.signup-card .card-header-clean h2 {
  margin: 0;
  color: #101218;
  font-size: clamp(2rem, 2.8vw, 2.75rem);
  line-height: 1;
  letter-spacing: -.06em;
  font-weight: 900;
}

.signup-card .subtitle {
  margin: .75rem 0 0;
  color: var(--muted);
  font-size: .98rem;
  font-weight: 600;
}

.signup-card .role-toggle,
.signup-card .gender-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  padding: .45rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.signup-card .role-toggle {
  margin: clamp(1.1rem, 2.6vh, 1.6rem) 0 .85rem;
}

.signup-card .gender-toggle {
  margin: 0 0 clamp(1.1rem, 2.6vh, 1.6rem);
}

.signup-card .role-option,
.signup-card .gender-option {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  border-radius: 14px;
  color: #686e7b;
  font-weight: 850;
  cursor: pointer;
  transition: .22s ease;
}

.signup-card .role-option i,
.signup-card .gender-option i {
  font-size: 1.08rem;
}

.signup-card .btn-check:checked+.role-option,
.signup-card .btn-check:checked+.gender-option {
  color: #fff;
  background: linear-gradient(135deg, #15171f, #050507);
  box-shadow: 0 16px 34px rgba(10, 11, 16, .18);
}

.signup-card .signup-form {
  display: grid;
  gap: clamp(.82rem, 1.8vh, 1rem);
}

.signup-card .form-label {
  margin-bottom: .42rem;
  color: #282b35;
  font-size: .9rem;
  font-weight: 830;
}

.signup-card .input-wrap {
  height: 50px;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .92);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.signup-card .input-wrap:focus-within {
  border-color: rgba(236, 6, 18, .48);
  background: #fff;
  box-shadow: 0 0 0 5px rgba(236, 6, 18, .08);
}

.signup-card .input-wrap>i {
  color: #707684;
  min-width: 18px;
  text-align: center;
}

.signup-card .input-wrap .form-control {
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text);
  font-size: .96rem;
  font-weight: 600;
}

.signup-card .intl-phone-wrap {
  gap: .65rem;
  overflow: visible;
}

.signup-card .intl-phone-wrap .iti {
  flex: 1;
  width: 100%;
  height: 100%;
}

.signup-card .intl-phone-wrap .iti__tel-input {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text);
  font-size: .96rem;
  font-weight: 600;
}

.signup-card .intl-phone-wrap .iti__tel-input:focus {
  box-shadow: none;
}

.signup-card .intl-phone-wrap .iti__selected-country {
  border-radius: 12px;
}

.signup-card .intl-phone-wrap .iti__dropdown-content {
  border-color: var(--line);
  border-radius: 15px;
  box-shadow: 0 18px 40px rgba(22, 24, 33, .14);
}

.signup-card .form-control::placeholder {
  color: #adb2bd;
  font-weight: 600;
}

.signup-card .password-wrap button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #6d7280;
}

.signup-card .terms-line {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  color: #6f7581;
  font-size: .86rem;
  line-height: 1.4;
  font-weight: 600;
}

.signup-card .form-check-input:checked {
  background-color: var(--red);
  border-color: var(--red);
}

.signup-card .cta-button {
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  border: 0;
  border-radius: 16px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--red-2) 0%, var(--red) 55%, #b90009 100%);
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(236, 6, 18, .28);
  transition: transform .18s ease, box-shadow .18s ease;
}

.signup-card .cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(236, 6, 18, .34);
}

.signup-card .divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .9rem;
  align-items: center;
  color: #9aa0aa;
  font-size: .8rem;
  font-weight: 850;
}

.signup-card .divider::before,
.signup-card .divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.signup-card .social-btn {
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: #22252e;
  font-weight: 850;
  transition: .18s ease;
}

.signup-card .social-btn:hover {
  border-color: rgba(236, 6, 18, .25);
  box-shadow: 0 12px 28px rgba(22, 24, 33, .08);
  transform: translateY(-1px);
}

.signup-card .social-btn .fa-google {
  color: #4285f4;
}

.signup-card .social-btn .fa-facebook {
  color: #1877f2;
}

.signup-card .signin-link {
  color: #666c78;
  font-size: .92rem;
  font-weight: 650;
}

@media (min-width: 992px) and (max-height: 860px) {


  .signup-card {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .signup-card .icon-mark {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .signup-card .eyebrow {
    margin-top: .65rem;
  }

  .signup-card .card-header-clean h2 {
    font-size: 2rem;
  }

  .signup-card .subtitle {
    margin-top: .5rem;
  }

  .signup-card .role-toggle {
    margin: .9rem 0;
  }

  .signup-card .gender-toggle {
    margin: -.25rem 0 .9rem;
  }

  .signup-card .role-option,
  .signup-card .gender-option,
  .signup-card .input-wrap {
    min-height: 0;
    height: 44px;
  }

  .signup-card .signup-form {
    gap: .68rem;
  }

  .signup-card .cta-button {
    height: 46px;
  }

  .signup-card .social-btn {
    height: 42px;
  }
}

@media (max-width: 991.98px) {
  .signup-card {
    max-width: 560px;
    border-radius: 28px;
  }
}

@media (max-width: 575.98px) {
  .signup-card {
    padding: 1.35rem 1rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
  }

  .signup-card .role-toggle,
  .signup-card .gender-toggle {
    gap: .4rem;
  }

  .signup-card .role-option,
  .signup-card .gender-option {
    font-size: .9rem;
  }

  .signup-card .intl-phone-wrap {
    padding-right: .75rem;
  }

  .signup-card .intl-phone-wrap .iti__tel-input {
    font-size: .9rem;
  }
}

/* =========================================
   404 PAGE
========================================= */

.error-page {
    min-height: calc(100vh - var(--navbar-height));
    padding: 90px 0;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top right, rgba(229, 9, 20, .09), transparent 35%),
        linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
}

.error-card {
    position: relative;
    overflow: hidden;
    padding: 70px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 60px;
    border-radius: 40px;
}

.error-card::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -180px;
    top: -180px;
    background: radial-gradient(circle, rgba(229, 9, 20, .12), transparent 70%);
}

.error-visual {
    position: relative;
    min-height: 320px;
    border-radius: 32px;
    background: linear-gradient(135deg, #0b0b0c, #1b1b1d);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.error-visual::before {
    content: "";
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
}

.error-visual span {
    position: relative;
    z-index: 1;
    font-size: clamp(82px, 10vw, 150px);
    font-weight: 900;
    letter-spacing: -8px;
    color: #ffffff;
    text-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.error-badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff1f2;
    color: var(--odish-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .3em;
}

.error-content h1 {
    font-size: clamp(42px, 5vw, 72px);
    line-height: .98;
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: 22px;
}

.error-content p {
    max-width: 620px;
    color: var(--odish-muted);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 34px;
}

.error-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media(max-width: 992px) {
    .error-card {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .error-visual {
        min-height: 240px;
    }
}

@media(max-width: 768px) {
    .error-page {
        padding: 60px 0;
    }

    .error-card {
        padding: 28px;
        border-radius: 28px;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-actions a {
        width: 100%;
    }
}
