/* === Bruin Quants Global Styles (v4) === */

:root {
  --bg: #030712;
  --bg-alt: #020617;
  --panel: #050816;
  --panel-soft: rgba(15, 23, 42, 0.9);
  --ucla-blue: #2774ae;
  --ucla-gold: #ffb81c;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.18);
  --accent-pink: #e879f9;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.3);
  --radius-lg: 18px;
  --shadow-soft: 0 22px 60px rgba(15, 23, 42, 0.9);
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.25), transparent 55%),
    radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.24), transparent 55%),
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.15), transparent 55%),
    var(--bg);
  color: var(--text-main);
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
}

/* Subtle animated grid / quant feel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(
      rgba(15, 23, 42, 0.7) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.7) 1px,
      transparent 1px
    );
  background-size: 40px 40px;
  opacity: 0.55;
  pointer-events: none;
  mix-blend-mode: soft-light;
  z-index: -1;
}

/* Shared layout */

.page-shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px 40px;
}

/* NAVBAR */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(3, 7, 18, 0.9);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(22px);
  position: sticky;
  top: 16px;
  z-index: 50;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.9);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 34px;
  height: 34px;
  border-radius: 30%;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background:
    conic-gradient(from 220deg, var(--ucla-blue), var(--accent), var(--ucla-gold), var(--ucla-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #0b1120;
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.5);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 13px;
}

.nav-links a {
  position: relative;
  color: var(--text-muted);
  text-decoration: none;
  padding-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--ucla-gold), var(--accent));
  transition: width 0.2s ease-out;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-link--active {
  color: var(--text-main);
}

.nav-link--active::after {
  width: 100%;
}

.nav-cta {
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.6);
  padding: 8px 14px;
  font-size: 12px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 60%);
  background-color: rgba(15, 23, 42, 0.96);
  cursor: pointer;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.4);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(56, 189, 248, 0.6);
}

/* Mobile nav toggle (hamburger) */

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 999px;
  transition: transform 0.15s ease-out, opacity 0.15s ease-out;
}

.nav-toggle--open span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle--open span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

/* RESPONSIVE NAV */

@media (max-width: 880px) {
  .nav {
    padding-inline: 14px;
    gap: 8px;
  }

  .nav-left {
    flex: 1;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(3, 7, 18, 0.98);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.9);
  }

  .nav-links.nav-links--open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-cta.nav-cta--open {
    display: inline-flex;
    margin-top: 8px;
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }
}

/* HERO / MAIN */

.hero-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: center;
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Eyebrow */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at center, #22c55e, #16a34a);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
}

/* Typography */

h1 {
  font-size: clamp(34px, 4.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
}

.gradient-text {
  background: linear-gradient(120deg, var(--ucla-gold), var(--accent), var(--accent-pink));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 36rem;
  margin-bottom: 18px;
}

.hero-sub strong {
  color: var(--text-main);
  font-weight: 500;
}

/* Hero actions */

.btn-primary {
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background:
    radial-gradient(circle at top left, rgba(255, 184, 28, 0.32), transparent 65%),
    linear-gradient(135deg, var(--ucla-blue), var(--accent));
  color: #f9fafb;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 22px 60px rgba(37, 99, 235, 0.75);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 30px 80px rgba(37, 99, 235, 0.85);
}

.btn-ghost {
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 13px;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background 0.12s ease-out, border-color 0.12s ease-out, color 0.12s ease-out;
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(148, 163, 184, 1);
  color: var(--text-main);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

/* Pills / tags */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 11px;
}

.pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-muted);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 11px;
  color: var(--text-muted);
}

.meta-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(148, 163, 184, 0.9);
  font-size: 10px;
}

/* Hero right: quant visual */

.hero-panel {
  border-radius: 26px;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top, #020617, #020617);
  padding: 18px 16px 16px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.25), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-panel-inner {
  position: relative;
  z-index: 1;
}

/* "Order book"/grid */

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  margin-bottom: 10px;
}

.panel-header-title {
  font-size: 12px;
  font-weight: 500;
}

.badge-soft {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  font-size: 10px;
  color: var(--text-muted);
}

/* pseudo-heatmap / matrix */

.quant-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-bottom: 12px;
}

.quant-cell {
  aspect-ratio: 1;
  border-radius: 6px;
  background: radial-gradient(circle at top,
      rgba(56, 189, 248, 0.9),
      rgba(15, 23, 42, 1));
  opacity: 0.15;
  box-shadow: 0 0 0 rgba(56, 189, 248, 0);
  animation: pulseCell 4.5s ease-in-out infinite;
}

.quant-cell:nth-child(3n) {
  background: radial-gradient(circle at top,
      rgba(34, 197, 94, 0.9),
      rgba(15, 23, 42, 1));
}

.quant-cell:nth-child(4n) {
  background: radial-gradient(circle at top,
      rgba(248, 250, 252, 0.9),
      rgba(15, 23, 42, 1));
}

.quant-cell:nth-child(2) { animation-delay: 0.3s; }
.quant-cell:nth-child(5) { animation-delay: 0.7s; }
.quant-cell:nth-child(9) { animation-delay: 1.1s; }
.quant-cell:nth-child(14) { animation-delay: 1.7s; }
.quant-cell:nth-child(20) { animation-delay: 2.1s; }
.quant-cell:nth-child(25) { animation-delay: 2.6s; }

@keyframes pulseCell {
  0%, 100% {
    opacity: 0.15;
    box-shadow: 0 0 0 rgba(56, 189, 248, 0);
  }
  50% {
    opacity: 0.9;
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.7);
  }
}

/* mini metrics */

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.metric-card {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(3, 7, 18, 0.98);
  padding: 8px 9px;
  font-size: 11px;
}

.metric-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(148, 163, 184, 0.9);
  font-size: 10px;
  margin-bottom: 2px;
}

.metric-value {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 2px;
}

.metric-trend {
  font-size: 10px;
  color: #22c55e;
}

/* Sections */

.section {
  margin-top: 40px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}

.section-title {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.section-sub {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 420px;
}

.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: rgba(148, 163, 184, 0.9);
  margin-bottom: 4px;
}

.section-aux-link {
  font-size: 12px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* Info cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 880px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 13px 13px 14px;
  background: rgba(3, 7, 18, 0.96);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top left, var(--accent-soft), transparent 55%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}

.card:hover::before {
  opacity: 1;
}

.card-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(148, 163, 184, 0.9);
  margin-bottom: 6px;
}

.card-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 3px;
}

.card-body {
  font-size: 12px;
  color: var(--text-muted);
}

/* Upcoming events list */

.event-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
}

.event-item {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.95);
  padding: 9px 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.event-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.event-title {
  font-size: 13px;
  font-weight: 500;
}

.event-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.event-tag {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 10px;
}

/* Members page */

.members-layout {
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .members-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.members-intro {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(3, 7, 18, 0.96);
  padding: 16px 16px 14px;
}

.members-intro p {
  font-size: 13px;
  color: var(--text-muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.filter-chip {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.98);
  color: var(--text-muted);
  padding: 5px 12px;
  font-size: 11px;
  cursor: pointer;
}

.filter-chip--active {
  color: var(--text-main);
  border-color: var(--accent);
}

/* Member cards */

.members-section {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(3, 7, 18, 0.96);
  padding: 14px 14px 16px;
}

.members-section + .members-section {
  margin-top: 16px;
}

.members-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.members-title {
  font-size: 14px;
  font-weight: 500;
}

.members-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 880px) {
  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .member-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.member-card {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.95);
  padding: 9px 9px 10px;
  font-size: 12px;
}

.member-name {
  font-weight: 500;
  margin-bottom: 2px;
}

.member-role {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.member-meta {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.member-links a {
  font-size: 11px;
  color: var(--accent);
  text-decoration: none;
}

/* Application form */

.form-shell {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
}

@media (max-width: 880px) {
  .form-shell {
    grid-template-columns: minmax(0, 1fr);
  }
}

.form-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(3, 7, 18, 0.96);
  padding: 16px 16px 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.form-row-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
}

.form-field label {
  font-size: 12px;
}

.form-field small {
  font-size: 11px;
  color: var(--text-muted);
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="file"],
select,
textarea {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.95);
  padding: 7px 10px;
  font-size: 13px;
  color: var(--text-main);
  outline: none;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
}

.form-footer {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.form-note {
  font-size: 11px;
  color: var(--text-muted);
}

/* Side info */

.apply-info {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(3, 7, 18, 0.96);
  padding: 16px 16px 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.apply-info ul {
  padding-left: 18px;
  margin: 6px 0 0;
  font-size: 12px;
}

/* Footer */

.footer {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.95);
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 12px;
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
}

/* Utility */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 10px;
  color: var(--text-muted);
}

/* Timeline (Projects / Resources) */

.timeline {
  margin-top: 8px;
  border-left: 1px solid rgba(148, 163, 184, 0.6);
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.timeline-item {
  position: relative;
  font-size: 12px;
  color: var(--text-muted);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: radial-gradient(circle at center, var(--accent), transparent 55%);
}

.timeline-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
}

.timeline-meta {
  font-size: 11px;
  color: var(--text-muted);
}

/* Resource grid */

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 640px) {
  .resource-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.resource-card-list {
  font-size: 12px;
  color: var(--text-muted);
}

.resource-card-list ul {
  padding-left: 18px;
  margin: 4px 0 0;
}

/* Quant ticker strip */

.ticker {
  margin-top: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.98);
  padding: 6px 10px;
  overflow: hidden;
  position: relative;
}

.ticker-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(148, 163, 184, 0.9);
  position: absolute;
  left: 12px;
  top: 7px;
  z-index: 1;
}

.ticker-track {
  display: inline-flex;
  gap: 18px;
  font-size: 11px;
  white-space: nowrap;
  animation: tickerMove 28s linear infinite;
  padding-left: 140px;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
}

.ticker-item span.code {
  font-weight: 500;
  color: var(--text-main);
}

.ticker-item span.pct {
  font-size: 10px;
  color: #22c55e;
}

@keyframes tickerMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Members portal lock screen */

.portal-lock {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 7, 18, 0.96);
  backdrop-filter: blur(18px);
  z-index: 80;
}

.portal-lock-panel {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(3, 7, 18, 0.98);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
}

.portal-lock-title {
  font-size: 18px;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.portal-lock-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.portal-lock-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portal-lock-error {
  font-size: 12px;
  color: #f97373;
  min-height: 16px;
}

.portal-lock-meta {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-muted);
}

.portal-main-hidden {
  display: none;
}

.portal-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 10px;
}

.portal-toolbar h1 {
  margin: 0;
  font-size: 22px;
}

.portal-logout-btn {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.98);
  color: var(--text-muted);
  padding: 6px 12px;
  font-size: 11px;
  cursor: pointer;
}
