/* Brand alignment with the public FregFX.com identity. */
:root {
  --bg: #071116;
  --panel: #0b1b18;
  --panel2: #102521;
  --line: #315c50;
  --text: #f0fff9;
  --muted: #9bb7b1;
  --green: #5ee0bc;
  --green2: #153f31;
  --amber: #f2bd62;
}

body {
  background:
    radial-gradient(circle at 82% -5%, rgba(53, 214, 154, .16), transparent 31rem),
    radial-gradient(circle at -5% 55%, rgba(59, 116, 102, .18), transparent 30rem),
    var(--bg);
}

.portal-header { border-color: rgba(94, 224, 188, .18); }

.portal-brand {
  min-width: 0;
  gap: 14px;
}

.brand-logo {
  display: block;
  width: 142px;
  height: auto;
  object-fit: contain;
}

.brand-line {
  margin: 0 0 1.25rem;
  color: #d8eee7;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.brand-line span { color: var(--amber); }

.auth-card,
.connection-card {
  background: linear-gradient(145deg, rgba(16, 40, 34, .98), rgba(7, 17, 22, .98));
  border-color: rgba(59, 116, 102, .72);
}

.primary {
  background: linear-gradient(135deg, #62e1b1, #35d69a);
  box-shadow: 0 12px 30px rgba(53, 214, 154, .13);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 1.3rem 0 .9rem;
  color: var(--muted);
  font-size: .82rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(94, 224, 188, .2);
}

.new-customer-button { width: 100%; }

.new-user-card { align-self: center; }
.new-user-card > p:not(.step-label) { margin-bottom: 1.2rem; }
.new-user-options { display: grid; gap: .75rem; }
.new-user-options article {
  padding: 1rem;
  border: 1px solid rgba(94, 224, 188, .18);
  border-radius: .8rem;
  background: rgba(4, 21, 13, .6);
}
.option-label {
  color: var(--green);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .11em;
}
.new-user-options h3 { margin: .4rem 0; font-size: 1rem; }
.new-user-options p {
  margin: 0 0 .9rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.55;
}
.new-user-action {
  display: block;
  padding: .7rem .85rem;
  border: 1px solid #315c50;
  border-radius: .65rem;
  color: #d9faed;
  background: #102822;
  font-size: .875rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.new-user-action.primary-action { color: #062017; background: var(--green); }
.new-user-action.disabled-action {
  color: #82958f;
  border-color: #33443f;
  background: #121b18;
  cursor: not-allowed;
  pointer-events: none;
}
.exness-link-notice {
  display: block;
  margin-top: .65rem;
  color: #f2bd62;
  font-size: .82rem;
  line-height: 1.45;
}
.approval-note {
  display: grid;
  gap: .25rem;
  margin-top: .9rem;
  padding: .85rem 1rem;
  border-left: 3px solid var(--amber);
  background: rgba(242, 189, 98, .08);
}
.approval-note b { color: #f6d896; font-size: .875rem; }
.approval-note span { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.back-login { width: 100%; }

.step-pill:not(.live),
.status-badge:not(.live) {
  border-color: #8a6b24;
  color: var(--amber);
}

footer b { color: #d9faed; letter-spacing: .08em; }

@media (max-width: 650px) {
  .brand-logo { width: 112px; }
  .brand-line { font-size: .68rem; line-height: 1.7; }
}
