:root {
  --ox-bg: #0f172a;
  --ox-card: #111827;
  --ox-border: #263244;
  --ox-text: #f8fafc;
}

body {
  background: var(--ox-bg);
  color: var(--ox-text);
}

.login-page {
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.35), transparent 35%),
    linear-gradient(135deg, #0f172a, #020617);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #2563eb;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.brand h1 {
  margin: 0;
  font-weight: 800;
}

.brand p {
  margin: 0;
  color: #94a3b8;
}

.hero-content {
  max-width: 760px;
}

.hero-content h2 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
}

.hero-subtitle {
  color: #94a3b8;
  font-size: 18px;
}

.feature-card,
.login-card,
.broker-box {
  background: rgba(17, 24, 39, .85);
  border: 1px solid var(--ox-border);
  border-radius: 18px;
}

.feature-card {
  padding: 18px;
  color: #e5e7eb;
}

.feature-card i {
  color: #22c55e;
  margin-right: 8px;
}

.login-card {
  max-width: 460px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
}

.broker-box {
  padding: 18px;
}

.broker-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
}

.broker-icon.upstox {
  background: #7c3aed;
}

.broker-icon.kotak {
  background: #dc2626;
}

.form-control {
  background: #020617;
  border-color: var(--ox-border);
  color: #fff;
}

.form-control:focus {
  background: #020617;
  color: #fff;
  border-color: #2563eb;
  box-shadow: 0 0 0 .25rem rgba(37,99,235,.25);
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(2, 6, 23, .86);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loading-overlay.d-none {
  display: none !important;
  pointer-events: none;
}

.toast {
  background: #111827;
  color: #fff;
  border: 1px solid var(--ox-border);
}