/* Auth pages — standalone (no landing.css dependency) */

:root {
  --bc-bg: #05080f;
  --bc-green: #00e676;
  --bc-green-dark: #00c853;
  --bc-green-glow: rgba(0, 230, 118, 0.35);
  --bc-purple: #6366f1;
  --bc-blue: #3b82f6;
  --bc-orange: #f97316;
  --bc-text: #ffffff;
  --bc-text-muted: #94a3b8;
  --bc-border: rgba(148, 163, 184, 0.12);
  --bc-radius: 20px;
  --bc-radius-sm: 12px;
  --bc-scrollbar-track: rgba(5, 8, 15, 0.95);
  --bc-scrollbar-track-border: rgba(148, 163, 184, 0.12);
  --bc-scrollbar-page-bg: #05080f;
}

*, *::before, *::after { box-sizing: border-box; }

.x-hidden { display: none !important; }

body.bc-auth {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  direction: ltr;
  background: var(--bc-bg);
  color: var(--bc-text);
}

body.bc-auth::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(0, 230, 118, 0.06), transparent),
    radial-gradient(ellipse 40% 35% at 20% 80%, rgba(99, 102, 241, 0.05), transparent);
}

a { color: inherit; text-decoration: none; }

.bc-text-accent { color: var(--bc-green); }

/* Layout */
.bc-auth__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ── Left panel ── */
.bc-auth-aside {
  position: relative;
  padding: 48px;
  display: flex;
  align-items: center;
  background: transparent;
  border-right: 1px solid var(--bc-border);
  overflow: hidden;
}

.bc-auth-aside__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.bc-auth-aside__glow--1 {
  width: 360px; height: 360px;
  background: rgba(0, 230, 118, 0.15);
  top: -5%; left: -5%;
}
.bc-auth-aside__glow--2 {
  width: 280px; height: 280px;
  background: rgba(99, 102, 241, 0.08);
  bottom: 5%; right: 0;
}

.bc-auth-aside__content {
  position: relative;
  z-index: 1;
  max-width: 440px;
  color: var(--bc-text);
}

.bc-auth-aside__content h2 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.bc-auth-aside__content > p {
  margin: 0 0 28px;
  color: var(--bc-text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.bc-auth-aside__list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bc-auth-aside__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #cbd5e1;
  font-size: 0.925rem;
}

.bc-auth-aside__list .bc-icon-box {
  width: 38px;
  height: 38px;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.bc-auth-aside__stats {
  display: flex;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--bc-border);
}

.bc-auth-aside__stats strong {
  display: block;
  font-size: 1.2rem;
  color: var(--bc-green);
}

.bc-auth-aside__stats span {
  font-size: 0.8rem;
  color: var(--bc-text-muted);
}

/* Logo */
.bc-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--bc-text);
  text-decoration: none;
}

.bc-logo__img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.bc-logo--sm .bc-logo__img {
  height: 40px;
  max-width: 175px;
}

.bc-logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--bc-green), var(--bc-green-dark));
  color: #04120a;
  box-shadow: 0 0 20px var(--bc-green-glow);
}

/* ── Right panel (dark) ── */
.bc-auth__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  min-height: 100vh;
  background: transparent;
}

.bc-auth__top {
  width: min(460px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.bc-auth__card {
  width: min(460px, 100%);
  padding: 36px 32px;
  border-radius: var(--bc-radius);
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(0, 230, 118, 0.12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 230, 118, 0.04);
  backdrop-filter: blur(16px);
  color: var(--bc-text);
}

.bc-auth__back {
  margin: 20px 0 0;
  width: min(460px, 100%);
  text-align: center;
}

.bc-auth__back a {
  color: var(--bc-text-muted);
  font-size: 0.875rem;
  transition: color 0.15s;
}
.bc-auth__back a:hover { color: var(--bc-green); }

/* Language */
.bc-lang { position: relative; }

.bc-lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--bc-border);
  background: rgba(15, 23, 42, 0.65);
  color: var(--bc-text-muted);
  border-radius: 999px;
  padding: 7px 14px;
  font: inherit;
  font-size: 0.825rem;
  cursor: pointer;
}

.bc-lang__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 130px;
  padding: 6px;
  border-radius: var(--bc-radius-sm);
  background: #111827;
  border: 1px solid var(--bc-border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.15s;
  z-index: 50;
}

.bc-lang:hover .bc-lang__menu,
.bc-lang.is-open .bc-lang__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bc-lang__menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--bc-text-muted);
  font-size: 0.875rem;
}
.bc-lang__menu a:hover,
.bc-lang__menu a.is-active {
  background: rgba(0, 230, 118, 0.1);
  color: var(--bc-green);
}

/* Icon boxes */
.bc-icon-box {
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid transparent;
}

.bc-icon-box--green {
  background: rgba(0, 230, 118, 0.12);
  border-color: rgba(0, 230, 118, 0.28);
  color: #00e676;
  box-shadow: 0 0 18px rgba(0, 230, 118, 0.15);
}

.bc-icon-box--purple {
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(99, 102, 241, 0.3);
  color: #818cf8;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.18);
}

/* Buttons */
.bc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: inherit;
}

.bc-btn--primary {
  background: linear-gradient(135deg, var(--bc-green), var(--bc-green-dark));
  color: #04120a;
  box-shadow: 0 8px 28px var(--bc-green-glow);
}
.bc-btn--primary:hover { transform: translateY(-1px); }

.bc-btn--ghost {
  background: transparent;
  border-color: var(--bc-border);
  color: var(--bc-text-muted);
}
.bc-btn--ghost:hover {
  color: var(--bc-text);
  border-color: rgba(148, 163, 184, 0.35);
  transform: translateY(-1px);
}

.bc-btn--block { width: 100%; }
.bc-btn--lg { padding: 14px 24px; font-size: 1rem; }

/* Form */
.bc-auth-form__head {
  text-align: center;
  margin-bottom: 28px;
}

.bc-auth-form__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  font-size: 1.2rem;
}

.bc-auth-form__head h1 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
}

.bc-auth-form__head p {
  margin: 0;
  color: var(--bc-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.bc-auth-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.bc-field { margin-bottom: 16px; }

.bc-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--bc-text-muted);
}

.bc-field__wrap { position: relative; }

.bc-field__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bc-text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

.bc-field__wrap input {
  width: 100%;
  padding: 13px 44px 13px 42px;
  border-radius: var(--bc-radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(5, 8, 15, 0.55);
  color: var(--bc-text);
  font: inherit;
  font-size: 0.925rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.bc-field__wrap input::placeholder {
  color: rgba(148, 163, 184, 0.45);
}

.bc-field__wrap input:focus {
  outline: none;
  border-color: rgba(0, 230, 118, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.12);
}

.bc-field__wrap input.bc-field__input--readonly,
.bc-field__wrap input:read-only {
  cursor: default;
  color: var(--bc-text-muted);
  background: rgba(5, 8, 15, 0.35);
  border-color: rgba(148, 163, 184, 0.14);
}

.bc-field__wrap input.bc-field__input--readonly:focus,
.bc-field__wrap input:read-only:focus {
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: none;
}

.bc-field__toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: var(--bc-text-muted);
  cursor: pointer;
  padding: 4px;
}

.bc-auth-form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.bc-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--bc-text-muted);
}
.bc-checkbox input { accent-color: var(--bc-green); }

.bc-checkbox--terms {
  margin-bottom: 20px;
  line-height: 1.5;
  align-items: flex-start;
}
.bc-checkbox--terms a { color: var(--bc-green); }

.bc-turnstile-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 1rem;
}

.bc-auth-form__link {
  font-size: 0.85rem;
  color: var(--bc-green);
  font-weight: 500;
}

.bc-auth-form__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--bc-text-muted);
  font-size: 0.825rem;
}
.bc-auth-form__divider::before,
.bc-auth-form__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--bc-border);
}

.bc-social-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: var(--bc-radius-sm);
  border: 1px solid var(--bc-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--bc-text-muted);
  font: inherit;
  font-size: 0.9rem;
  cursor: not-allowed;
  opacity: 0.75;
}

.bc-auth-form__switch {
  margin: 24px 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--bc-text-muted);
}
.bc-auth-form__switch a {
  color: var(--bc-green);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 960px) {
  .bc-auth__layout { grid-template-columns: 1fr; }
  .bc-auth-aside { display: none; }
  .bc-auth__main {
    min-height: auto;
    padding: 24px 16px 40px;
  }
}

@media (max-width: 480px) {
  .bc-auth__card { padding: 28px 20px; }
  .bc-auth-form__grid { grid-template-columns: 1fr; }
}

body.bc-account-blocked {
  position: relative;
  z-index: 1;
}

.bc-account-blocked__wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  position: relative;
  z-index: 1;
}

.bc-account-blocked__card {
  width: min(100%, 420px);
  padding: 40px 32px 36px;
  border-radius: var(--bc-radius);
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(15, 23, 42, 0.92);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(239, 68, 68, 0.08);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bc-account-blocked__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 8px;
}

.bc-account-blocked__logo-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 22px;
}

.bc-account-blocked__logo {
  display: inline-flex;
}

.bc-account-blocked__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.14);
  color: #f87171;
  font-size: 1.75rem;
  box-shadow: 0 0 32px rgba(239, 68, 68, 0.2);
}

.bc-account-blocked__title {
  margin: 20px 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--bc-text);
}

.bc-account-blocked__message {
  margin: 0 0 28px;
  max-width: 32ch;
  color: var(--bc-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.bc-account-blocked__action {
  min-width: 180px;
  justify-content: center;
}

@media (max-width: 480px) {
  .bc-account-blocked__card {
    padding: 32px 22px 28px;
  }

  .bc-account-blocked__message {
    max-width: 100%;
  }
}

/* Account restricted (full-page lock) */
body.bc-account-restricted {
  position: relative;
  z-index: 1;
}

.bc-account-restricted__wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  position: relative;
  z-index: 1;
}

.bc-account-restricted__card {
  width: min(100%, 480px);
  padding: 40px 32px 36px;
  border-radius: var(--bc-radius);
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(15, 23, 42, 0.94);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(251, 191, 36, 0.08);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bc-account-restricted__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 8px;
}

.bc-account-restricted__logo-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 22px;
}

.bc-account-restricted__logo {
  display: inline-flex;
}

.bc-account-restricted__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.14);
  color: #fbbf24;
  font-size: 1.75rem;
  box-shadow: 0 0 32px rgba(251, 191, 36, 0.18);
}

.bc-account-restricted__title {
  margin: 20px 0 10px;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.3;
}

.bc-account-restricted__lead {
  margin: 0 0 20px;
  max-width: 36ch;
  color: var(--bc-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.bc-account-restricted__reason {
  width: 100%;
  margin-bottom: 28px;
  padding: 16px 18px;
  border-radius: var(--bc-radius-sm);
  border: 1px solid rgba(251, 191, 36, 0.22);
  background: rgba(251, 191, 36, 0.06);
  text-align: left;
}

.bc-account-restricted__reason-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fbbf24;
}

.bc-account-restricted__reason p {
  margin: 0;
  color: var(--bc-text);
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.bc-account-restricted__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
}

.bc-account-restricted__actions .bc-btn {
  min-width: 180px;
}

@media (max-width: 480px) {
  .bc-account-restricted__card {
    padding: 32px 22px 28px;
  }

  .bc-account-restricted__actions {
    flex-direction: column;
  }

  .bc-account-restricted__actions .bc-btn {
    width: 100%;
  }
}
