:root {
  --green: #00a884;
  --green-dark: #008f71;
  --blue: #2f80ed;
  --blue-dark: #2569c7;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #d1d5db;
  --bg: #ffffff;
  --danger: #dc2626;
  --ok: #047857;
  --warn-bg: #fff7ed;
  --warn-ink: #9a3412;
  --radius: 8px;
  --font: "Manrope", sans-serif;
  --display: "Sora", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
}

body { min-height: 100vh; }

.login-shell {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(360px, 1fr);
  min-height: 100vh;
}

/* Left brand panel */
.brand-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.12), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,.12), transparent 45%),
    linear-gradient(160deg, #00b894 0%, #00a884 45%, #009672 100%);
  display: grid;
  place-items: center;
  padding: 40px 24px;
}

.brand-pattern {
  position: absolute;
  inset: -20%;
  background-image: radial-gradient(rgba(255,255,255,.16) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  opacity: .55;
  transform: rotate(8deg);
  pointer-events: none;
}

.orbit {
  position: relative;
  width: min(460px, 86vw);
  aspect-ratio: 1;
  z-index: 1;
}

.orbit-core {
  position: absolute;
  inset: 29%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  animation: soft-pop .7s ease both;
}

.orbit-core-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #00b894, #0284c7);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}

.orbit-core strong {
  font-family: var(--display);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0f766e;
  line-height: 1.15;
}

.orbit-core small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.orbit-node {
  position: absolute;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  transform: translate(-50%, -50%);
  animation: float-in .65s ease both;
}

.orbit-node::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 2px;
  height: 58px;
  border-left: 1.5px dashed rgba(255,255,255,.75);
  transform-origin: top center;
  z-index: -1;
  pointer-events: none;
}

.node-label {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  line-height: 1.1;
}

.node-icon {
  width: 22px;
  height: 22px;
  display: block;
  background: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.tone-blue { color: #2563eb; }
.tone-amber { color: #d97706; }
.tone-teal { color: #0d9488; }
.tone-green { color: #059669; }
.tone-red { color: #e11d48; }
.tone-orange { color: #ea580c; }
.tone-indigo { color: #4f46e5; }
.tone-slate { color: #475569; }

.icon-users { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.icon-file { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3C/svg%3E"); }
.icon-clipboard { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Crect x='8' y='2' width='8' height='4' rx='1'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Crect x='8' y='2' width='8' height='4' rx='1'/%3E%3C/svg%3E"); }
.icon-rupee { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12'/%3E%3Cpath d='M6 8h12'/%3E%3Cpath d='M6 13h7a4 4 0 0 0 0-8'/%3E%3Cpath d='M6 21l8-8'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12'/%3E%3Cpath d='M6 8h12'/%3E%3Cpath d='M6 13h7a4 4 0 0 0 0-8'/%3E%3Cpath d='M6 21l8-8'/%3E%3C/svg%3E"); }
.icon-pulse { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/svg%3E"); }
.icon-map { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 1 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 1 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.icon-chart { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M18 20V10'/%3E%3Cpath d='M12 20V4'/%3E%3Cpath d='M6 20v-6'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M18 20V10'/%3E%3Cpath d='M12 20V4'/%3E%3Cpath d='M6 20v-6'/%3E%3C/svg%3E"); }
.icon-gear { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z'/%3E%3C/svg%3E"); }

/* node positions around circle */
.node-1 { top: 8%; left: 50%; animation-delay: .05s; }
.node-1::before { transform: translate(-50%, 0) rotate(180deg); height: 52px; }
.node-2 { top: 22%; left: 84%; animation-delay: .1s; }
.node-2::before { transform: translate(-50%, 0) rotate(225deg); }
.node-3 { top: 50%; left: 96%; animation-delay: .15s; }
.node-3::before { transform: translate(-50%, 0) rotate(270deg); }
.node-4 { top: 78%; left: 84%; animation-delay: .2s; }
.node-4::before { transform: translate(-50%, 0) rotate(315deg); }
.node-5 { top: 92%; left: 50%; animation-delay: .25s; }
.node-5::before { transform: translate(-50%, 0) rotate(0deg); height: 52px; }
.node-6 { top: 78%; left: 16%; animation-delay: .3s; }
.node-6::before { transform: translate(-50%, 0) rotate(45deg); }
.node-7 { top: 50%; left: 4%; animation-delay: .35s; }
.node-7::before { transform: translate(-50%, 0) rotate(90deg); }
.node-8 { top: 22%; left: 16%; animation-delay: .4s; }
.node-8::before { transform: translate(-50%, 0) rotate(135deg); }

/* Right form panel */
.form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.form-wrap {
  width: min(440px, 100%);
  animation: rise .55s ease both;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.brand-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #00b894, #0284c7);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
}

.brand-name {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.brand-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

h1 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 800;
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.req { color: var(--danger); }

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap .lead-icon,
.input-wrap .trail-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  color: #9ca3af;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}

.input-wrap .lead-icon { left: 14px; pointer-events: none; }
.input-wrap .trail-btn { right: 12px; }

.input-wrap input,
.input-wrap select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 44px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.input-wrap.select-wrap select { padding-left: 14px; }

.input-wrap input:focus,
.input-wrap select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,168,132,.15);
}

.input-wrap input::placeholder { color: #9ca3af; }

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 18px;
  flex-wrap: wrap;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4b5563;
  user-select: none;
}

.check input { width: 16px; height: 16px; accent-color: var(--green); }

.link-blue {
  color: var(--blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.link-blue:hover { text-decoration: underline; }

.btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  height: 46px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-green {
  background: var(--green);
  color: #fff;
}
.btn-green:hover { background: var(--green-dark); }

.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-blue:hover { background: var(--blue-dark); }

.btn-outline {
  width: 100%;
  background: #fff;
  color: #374151;
  border: 1px solid #cbd5e1;
}
.btn-outline:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.or-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 16px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 700;
}
.or-sep::before,
.or-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.channel-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.channel-tab {
  height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  color: #475569;
  cursor: pointer;
}
.channel-tab.active {
  border-color: var(--green);
  color: var(--green-dark);
  background: rgba(0,168,132,.08);
  box-shadow: inset 0 0 0 1px rgba(0,168,132,.25);
}

.hint {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.demo-box {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--warn-bg);
  color: var(--warn-ink);
  font-size: 13px;
  font-weight: 600;
}

.alert {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}
.alert-error { background: #fef2f2; color: #b91c1c; }
.alert-success { background: #ecfdf5; color: var(--ok); }
.alert-info { background: #eff6ff; color: #1d4ed8; }

.back-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.back-link:hover { text-decoration: underline; }

.copyright {
  margin: 28px 0 0;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.45;
}

.otp-boxes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.otp-boxes input {
  height: 48px;
  text-align: center;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}
.otp-boxes input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,168,132,.15);
}

@keyframes soft-pop {
  from { opacity: 0; transform: scale(.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes float-in {
  from { opacity: 0; transform: translate(-50%, -42%) scale(.85); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .login-shell { grid-template-columns: 1fr; }
  .brand-panel {
    min-height: 280px;
    padding: 28px 16px;
  }
  .orbit { width: min(340px, 88vw); }
  .orbit-node { width: 68px; height: 68px; }
  .node-label { font-size: 10px; }
  h1 { font-size: 34px; }
}

@media (max-width: 520px) {
  .form-panel { padding: 28px 18px 36px; }
  .btn-row { grid-template-columns: 1fr; }
  .brand-panel { display: none; }
}
