.crm-auth-body {
  min-height: 100vh;
  background: #f2f4f7;
  color: #101828;
  font-family: Inter, "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.crm-auth-body .topbar,
.crm-auth-body .footer {
  display: none;
}

.crm-auth-body .container {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.crm-auth-layout {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(480px, 1.1fr);
  min-height: 100vh;
}

.crm-auth-story {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(28px, 4vw, 58px);
  background: #101828;
  color: #fff;
}

.crm-auth-story::before,
.crm-auth-story::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.crm-auth-story::before {
  top: 11%;
  right: -18%;
  width: 360px;
  height: 360px;
  background: rgb(161 118 247 / 26%);
  filter: blur(2px);
}

.crm-auth-story::after {
  right: 8%;
  bottom: -18%;
  width: 300px;
  height: 300px;
  background: rgb(220 248 58 / 18%);
}

.crm-auth-story__brand,
.crm-auth-mobile-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 800;
}

.crm-auth-story__logo,
.crm-auth-mobile-brand span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  background: #dcf83a;
}

.crm-auth-story__content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: auto 0;
}

.crm-auth-story__eyebrow {
  color: #dcf83a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.crm-auth-story h1 {
  max-width: 500px;
  margin: 18px 0 18px;
  color: #fff;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
}

.crm-auth-story__content > p {
  max-width: 480px;
  margin: 0;
  color: #d0d5dd;
  font-size: 16px;
  line-height: 1.7;
}

.crm-auth-story__points {
  display: grid;
  gap: 13px;
  margin-top: 34px;
  color: #eaecf0;
  font-size: 13px;
  font-weight: 650;
}

.crm-auth-story__points span {
  display: flex;
  align-items: center;
  gap: 11px;
}

.crm-auth-story__points i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dcf83a;
  box-shadow: 0 0 0 5px rgb(220 248 58 / 12%);
}

.crm-auth-story__foot {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #98a2b3;
  font-size: 12px;
}

.crm-auth-column {
  display: flex;
  width: min(100%, 620px);
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 72px);
}

.crm-auth-mobile-brand {
  display: none;
  color: #101828;
}

.crm-auth-mobile-brand span {
  width: 42px;
  height: 42px;
}

.crm-auth-body .crm-auth-card,
.crm-auth-body .crm-auth-kiosk-card {
  width: 100%;
  margin: 0;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid #eaecf0;
  border-radius: 24px;
  background: #fff !important;
  color: #101828 !important;
  box-shadow: 0 20px 50px rgb(16 24 40 / 8%);
}

.crm-auth-body .crm-auth-card h1 {
  margin: 0;
  color: #101828;
  font-size: clamp(30px, 3vw, 40px);
  letter-spacing: -.04em;
}

.crm-auth-body .crm-auth-intro {
  margin: 9px 0 28px;
  color: #667085 !important;
  font-size: 14px;
}

.crm-auth-body .crm-auth-form {
  display: grid;
  gap: 8px;
}

.crm-auth-body .crm-auth-form label,
.crm-auth-body .crm-auth-kiosk-card label {
  margin-top: 10px;
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}

.crm-auth-body .crm-auth-form input,
.crm-auth-body .crm-auth-kiosk-card select {
  min-height: 52px;
  padding: 0 17px;
  border: 1px solid #d0d5dd;
  border-radius: 15px;
  background: #fff !important;
  color: #101828 !important;
  font-size: 14px;
}

.crm-auth-body .crm-auth-form input:focus,
.crm-auth-body .crm-auth-kiosk-card select:focus {
  border-color: #a176f7;
  outline: 3px solid rgb(161 118 247 / 16%);
}

.crm-auth-body .crm-auth-submit {
  min-height: 52px;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  background: #a176f7 !important;
  color: #fff !important;
  font-weight: 800;
}

.crm-auth-body .crm-auth-submit:hover {
  background: #8e5bea !important;
}

.crm-auth-body .crm-auth-help {
  margin-top: 17px;
  text-align: center;
}

.crm-auth-body .crm-auth-help a {
  color: #6941c6;
  font-size: 12px;
  font-weight: 700;
}

.crm-auth-body .crm-auth-kiosk-card {
  padding: 22px 26px;
  box-shadow: 0 10px 28px rgb(16 24 40 / 5%);
}

.crm-auth-body .crm-auth-kiosk-card h2 {
  color: #101828;
  font-size: 18px;
}

.crm-auth-body .crm-auth-kiosk-card .muted {
  color: #667085 !important;
}

.crm-auth-body .crm-auth-kiosk-card .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.crm-auth-body .crm-auth-kiosk-card .btn {
  min-height: 40px;
  border-color: #d0d5dd !important;
  border-radius: 999px;
  background: #fff !important;
  color: #101828 !important;
}

.crm-auth-body .crm-auth-kiosk-card .btn-primary {
  border-color: #a176f7 !important;
  background: #a176f7 !important;
  color: #fff !important;
}

@media (max-width: 900px) {
  .crm-auth-layout { grid-template-columns: 1fr; }
  .crm-auth-story { display: none; }
  .crm-auth-column { min-height: 100vh; }
  .crm-auth-mobile-brand { display: flex; margin-bottom: 8px; }
}

@media (max-width: 560px) {
  .crm-auth-column { padding: 18px; }
  .crm-auth-card,
  .crm-auth-kiosk-card { padding: 24px 20px; border-radius: 20px; }
}
