:root {
  --rabu-auth-bg: #edecec;
  --rabu-auth-card: rgba(255, 255, 255, 0.92);
  --rabu-auth-soft: #f7f7f8;
  --rabu-auth-line: rgba(9, 9, 11, 0.1);
  --rabu-auth-text: #09090b;
  --rabu-auth-muted: #71717a;
  --rabu-auth-brand: #fb6201;
}

body:has(.rabu-auth) {
  background: var(--rabu-auth-bg);
  line-height: 0;
}

body:has(.rabu-auth) .auth-wrap {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100svh;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(251, 98, 1, 0.12), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(180deg, #f8f7f5 0%, var(--rabu-auth-bg) 100%);
}

.rabu-auth {
  min-height: 100svh;
  box-sizing: border-box;
  padding: 20px 24px 42px;
  color: var(--rabu-auth-text);
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(251, 98, 1, 0.12), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(180deg, #f8f7f5 0%, var(--rabu-auth-bg) 100%);
}

.rabu-auth-header {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 10px 0 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.rabu-auth-logo {
  display: inline-flex;
  align-items: center;
  width: 118px;
}

.rabu-auth-logo img {
  width: 100%;
  height: auto;
}

.rabu-auth-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--rabu-auth-text);
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 26px rgba(9, 9, 11, 0.08);
}

.rabu-auth-shell {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 140px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 0 32px;
}

.rabu-auth-login {
  height: 100svh;
  overflow: hidden;
}

.rabu-auth-login .rabu-auth-shell {
  min-height: calc(100svh - 106px);
  padding-bottom: 0;
}

.rabu-auth-copy {
  max-width: 640px;
  padding-left: clamp(0px, 2vw, 18px);
}

.rabu-auth-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
}

.rabu-auth-pill .icon {
  font-size: 16px;
  line-height: 1;
}

.rabu-auth-copy h1 {
  max-width: 680px;
  font-size: clamp(52px, 6.3vw, 86px);
  line-height: 0.94;
  letter-spacing: 0;
  margin-bottom: 20px;
  color: var(--rabu-auth-text);
}

.rabu-auth-copy h1 span {
  color: var(--rabu-auth-brand);
}

.rabu-auth-copy p {
  max-width: 520px;
  color: var(--rabu-auth-muted);
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 0;
}

.rabu-auth-card {
  width: 100%;
}

.rabu-auth-card-head {
  margin-bottom: 24px;
  text-align: center;
}

.rabu-auth-eyebrow {
  color: var(--rabu-auth-brand);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.rabu-auth-card h2 {
  color: var(--rabu-auth-text);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
  margin: 10px 0;
}

.rabu-auth-card p,
.rabu-auth-card a {
  color: var(--rabu-auth-muted);
}

.rabu-auth-card a {
  color: var(--rabu-auth-text);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(251, 98, 1, 0.4);
  text-underline-offset: 4px;
}

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

.rabu-auth-field {
  display: grid;
  gap: 8px;
  color: var(--rabu-auth-text);
  font-weight: 700;
}

.rabu-auth-field span,
.rabu-auth-field span em {
  line-height: 1.25;
}

.rabu-auth-field span em {
  color: var(--rabu-auth-muted);
  font-style: normal;
  font-weight: 500;
}

.rabu-auth-form .rabu-auth-field input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--rabu-auth-line);
  border-radius: 16px;
  background: #f7f7f8;
  color: var(--rabu-auth-text);
  height: 54px;
  min-height: 54px;
  padding: 0 16px;
  line-height: 54px;
  text-align: left;
  vertical-align: middle;
  outline: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 10px 24px rgba(9, 9, 11, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  appearance: none;
}

.rabu-auth-form .rabu-auth-field input::placeholder {
  color: #a1a1aa;
  line-height: 54px;
  opacity: 1;
  text-align: left;
}

.rabu-auth-form .rabu-auth-field input:hover {
  background: #fffaf5;
  border-color: rgba(251, 98, 1, 0.28);
}

.rabu-auth-form .rabu-auth-field input:focus {
  background: #fffaf5;
  border-color: rgba(251, 98, 1, 0.65);
  box-shadow: 0 0 0 4px rgba(251, 98, 1, 0.12), 0 12px 26px rgba(9, 9, 11, 0.08);
}

.rabu-auth-field small {
  color: #d92715;
  font-weight: 600;
}

.rabu-auth-password {
  position: relative;
}

.rabu-auth-password input {
  padding-right: 54px;
}

.rabu-auth-password button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  color: var(--rabu-auth-text);
  background: var(--rabu-auth-soft);
}

.rabu-auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--rabu-auth-muted);
  font-size: 14px;
}

.rabu-auth-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
}

.rabu-auth-check input {
  accent-color: var(--rabu-auth-brand);
}

.rabu-auth-submit {
  width: 100%;
  border: 0;
  min-height: 56px;
}

.rabu-auth-alert {
  border: 1px solid rgba(251, 98, 1, 0.24);
  border-radius: 16px;
  color: var(--rabu-auth-text);
  background: rgba(251, 98, 1, 0.08);
  padding: 14px 16px;
  margin-bottom: 18px;
}

.rabu-auth-alert-danger {
  border-color: rgba(217, 39, 21, 0.28);
  background: rgba(217, 39, 21, 0.08);
}

.rabu-auth-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.rabu-auth-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: var(--rabu-auth-text);
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 26px rgba(9, 9, 11, 0.06);
}

@media (max-width: 1040px) {
  .rabu-auth-shell {
    grid-template-columns: 1fr;
  }

  .rabu-auth-copy {
    max-width: 780px;
  }
}

@media (max-width: 640px) {
  .rabu-auth {
    padding: 16px 16px 28px;
    overflow-x: hidden;
  }

  .rabu-auth-header,
  .rabu-auth-shell {
    width: 100%;
  }

  .rabu-auth-header {
    padding: 4px 0 20px;
    justify-content: center !important;
  }

  .rabu-auth-logo {
    width: 104px;
    margin: 0 auto !important;
  }

  .rabu-auth-home {
    display: none;
  }

  .rabu-auth-login {
    height: auto;
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .rabu-auth-login .rabu-auth-shell {
    min-height: auto;
  }

  .rabu-auth-shell {
    min-height: auto;
    padding: 0;
    gap: 18px;
  }

  .rabu-auth-copy {
    max-width: none;
    padding-left: 0;
    text-align: center;
  }

  .rabu-auth-pill {
    margin: 0 auto 14px;
    font-size: 13px;
  }

  .rabu-auth-proof {
    justify-content: center;
    margin-top: 18px;
  }

  .rabu-auth-copy h1 {
    max-width: 340px;
    font-size: clamp(34px, 10.4vw, 42px);
    line-height: 0.98;
    letter-spacing: 0;
    margin: 0 auto;
  }

  .rabu-auth-card {
    padding: 20px !important;
  }

  .rabu-auth-card-head {
    margin-bottom: 16px;
  }

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

  .rabu-auth-form {
    gap: 12px;
  }

  .rabu-auth-form .rabu-auth-field input {
    height: 48px;
    min-height: 48px;
    line-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
  }

  .rabu-auth-form .rabu-auth-field input::placeholder {
    line-height: 48px;
  }

  .rabu-auth-password button {
    width: 34px;
    height: 34px;
  }

  .rabu-auth-submit {
    min-height: 50px;
    padding: 12px 20px;
  }

  .rabu-auth-row {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
  }

  .rabu-auth-row > a,
  .rabu-auth-check span {
    display: inline-flex;
    white-space: nowrap !important;
    min-width: max-content;
  }

  .rabu-auth-check {
    flex: 0 1 auto;
    min-width: 0;
  }
}

.rabu-auth-verify {
  overflow: hidden;
  background: linear-gradient(180deg, #f8f7f5 0%, var(--rabu-auth-bg) 100%);
}

.rabu-auth-verify::before,
.rabu-auth-verify::after {
  display: none;
  content: none;
}

body:has(.rabu-auth-verify) .auth-wrap {
  background: linear-gradient(180deg, #f8f7f5 0%, var(--rabu-auth-bg) 100%);
}

.rabu-auth-verify .rabu-auth-card-head {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rabu-auth-verify .rabu-auth-card {
  position: relative;
  overflow: hidden;
}

.rabu-auth-verify .rabu-auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--rabu-auth-brand), #ff876f);
}

.rabu-auth-verify-icon {
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border-radius: 22px;
  color: #fff;
  background: var(--rabu-auth-brand);
  box-shadow: 0 18px 34px rgba(251, 98, 1, 0.24);
}

.rabu-auth-verify-icon iconify-icon {
  font-size: 30px;
}

.rabu-auth-verify .rabu-auth-eyebrow {
  display: block;
  text-align: center;
}

.rabu-auth-help {
  margin-top: 16px;
  color: var(--rabu-auth-muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.rabu-auth-action-card {
  isolation: isolate;
}

.rabu-auth-action-card::after {
  display: none;
  content: none;
}

.rabu-auth-showcase .rabu-auth-card-head p {
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.rabu-auth-steps {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.rabu-auth-steps div {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(9, 9, 11, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.rabu-auth-steps span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: var(--rabu-auth-brand);
}

.rabu-auth-steps strong {
  color: var(--rabu-auth-text);
  font-size: 14px;
  line-height: 1.2;
}

.rabu-auth-steps small {
  color: var(--rabu-auth-muted);
  font-size: 12px;
  line-height: 1.35;
}

.rabu-auth-header form .rabu-auth-home {
  border: 1px solid rgba(255, 255, 255, 0.72);
  cursor: pointer;
}
