:root {
  --bg: #050505;
  --bg-soft: #0b0b0d;
  --panel: rgba(18, 18, 20, 0.76);
  --panel-strong: rgba(15, 15, 17, 0.94);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-gold: rgba(212, 175, 55, 0.42);
  --gold: #d4af37;
  --gold-light: #f4df8b;
  --gold-dark: #8a6d1d;
  --text: #f7f3e8;
  --muted: #aaa7a0;
  --muted-strong: #d7cfb9;
  --danger: #ff6b6b;
  --success: #76d38c;
  --warning: #f0c75e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.56);
  --radius: 26px;
  --sidebar-width: 280px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  overscroll-behavior: none;
}

body::selection {
  color: #080705;
  background: var(--gold-light);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

img {
  max-width: 100%;
}

.portal-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 8% 8%, rgba(212, 175, 55, 0.17), transparent 29%),
    radial-gradient(circle at 92% 92%, rgba(212, 175, 55, 0.12), transparent 30%),
    radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.045), transparent 32%),
    linear-gradient(135deg, #030303 0%, #0b0b0d 45%, #050505 100%);
}

.portal-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 18%, transparent 74%);
}

.portal-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(212, 175, 55, 0.055), transparent 24%, transparent 76%, rgba(212, 175, 55, 0.04)),
    radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.45) 82%);
}

.glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(84px);
  opacity: 0.3;
}

.glow-one {
  top: 8%;
  left: 7%;
  background: rgba(212, 175, 55, 0.44);
}

.glow-two {
  right: 8%;
  bottom: 8%;
  background: rgba(255, 255, 255, 0.12);
}

.glow-three {
  top: 38%;
  right: 27%;
  background: rgba(138, 109, 29, 0.28);
}

/* LOGIN */

.login-screen {
  display: none;
  min-height: 100vh;
  padding: 28px;
  align-items: center;
  justify-content: center;
}

.login-screen.active {
  display: flex;
}

.login-card {
  width: min(1120px, 100%);
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.024)),
    rgba(8, 8, 9, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px);
}

.login-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: 35px;
  background:
    radial-gradient(circle at 25% 15%, rgba(244, 223, 139, 0.18), transparent 28%),
    radial-gradient(circle at 86% 86%, rgba(212, 175, 55, 0.12), transparent 34%);
}

.single-card {
  grid-template-columns: 1fr 0.95fr;
}

.brand-area,
.login-form {
  position: relative;
  z-index: 1;
}

.brand-area {
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.brand-logo {
  width: min(370px, 100%);
  height: auto;
  object-fit: contain;
  margin: 0 auto 34px;
  filter: drop-shadow(0 0 28px rgba(212, 175, 55, 0.25));
}

.brand-kicker,
.eyebrow,
.page-label {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 800;
}

.brand-area h1 {
  max-width: 640px;
  margin: 16px auto 22px;
  font-size: clamp(2.3rem, 5vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.brand-subtext {
  max-width: 580px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.85;
}

.login-form {
  align-self: center;
  margin: 30px;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: rgba(4, 4, 5, 0.56);
  backdrop-filter: blur(22px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 54px rgba(0, 0, 0, 0.28);
}

.login-form label,
.profile-form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #e9e2cd;
  font-size: 0.95rem;
  font-weight: 750;
}

.login-form label {
  display: block;
  margin-bottom: 16px;
}

.login-form input,
.profile-form input,
.profile-form textarea,
.settings-card input {
  width: 100%;
  border: 1px solid var(--border-strong);
  outline: none;
  border-radius: 18px;
  padding: 16px 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.058);
  transition:
    border 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease;
}

.login-form input {
  min-height: 66px;
  margin-bottom: 32px;
  font-size: 1.02rem;
}

.login-form input::placeholder,
.profile-form input::placeholder,
.profile-form textarea::placeholder {
  color: rgba(247, 243, 232, 0.42);
}

.login-form input:focus,
.profile-form input:focus,
.profile-form textarea:focus,
.settings-card input:focus {
  border-color: var(--border-gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.08);
  background: rgba(255, 255, 255, 0.078);
}

.profile-form input:disabled {
  color: #b7ad8d;
  cursor: not-allowed;
  background: rgba(212, 175, 55, 0.06);
}

.primary-btn,
.ghost-btn,
.logout-btn,
.small-btn,
.nav-link,
.mobile-menu-btn,
.text-btn,
.modal-close {
  border-radius: 999px;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border: 0;
  color: #0d0b04;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  box-shadow: 0 18px 42px rgba(212, 175, 55, 0.23);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(212, 175, 55, 0.28);
}

.login-form .primary-btn {
  width: 100%;
  min-height: 58px;
  margin-top: 4px;
  font-size: 1.02rem;
}

.ghost-btn {
  min-height: 50px;
  padding: 0 25px;
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.052);
}

.ghost-btn:hover {
  border-color: var(--border-gold);
  color: var(--gold-light);
}

a.primary-btn,
a.ghost-btn {
  text-decoration: none;
}

a.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.text-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.text-btn:hover {
  color: var(--gold-light);
}

.login-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.login-actions a:hover {
  color: var(--gold-light);
}

.login-note,
.form-message {
  min-height: 24px;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 750;
}

.login-note.error,
.form-message.error {
  color: var(--danger);
}

.login-note.success,
.form-message.success {
  color: var(--success);
}

/* MODAL */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(16px);
}

.modal-backdrop.show {
  display: grid;
}

.modal-card {
  position: relative;
  width: min(480px, 100%);
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.03)),
    rgba(12, 12, 14, 0.96);
  box-shadow: var(--shadow);
}

.modal-card h2 {
  margin: 10px 0 14px;
  font-size: 2rem;
  letter-spacing: -0.055em;
}

.modal-card p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 22px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.5rem;
  line-height: 1;
}

.modal-close:hover {
  color: var(--gold-light);
  border-color: var(--border-gold);
}

/* APP LAYOUT */

.portal-app {
  display: none;
  min-height: 100vh;
}

.portal-app.active {
  display: flex;
}

.sidebar {
  position: fixed;
  inset: 24px auto 24px 24px;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: rgba(7, 7, 8, 0.82);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
  z-index: 20;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding-bottom: 30px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.sidebar-brand img {
  width: 128px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.18));
}

.sidebar-nav {
  display: none;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.sidebar-nav.active {
  display: flex;
}

.nav-link {
  width: 100%;
  display: block;
  text-align: left;
  padding: 15px 17px;
  color: #d8d3c6;
  background: transparent;
  border: 0;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.075);
}

.nav-link.active {
  color: #0b0903;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  box-shadow:
    0 16px 34px rgba(212, 175, 55, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.logout-btn {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.052);
}

.logout-btn:hover {
  color: var(--danger);
  border-color: rgba(255, 107, 107, 0.45);
  background: rgba(255, 107, 107, 0.075);
}

.main-shell {
  width: 100%;
  min-height: 100vh;
  margin-left: calc(var(--sidebar-width) + 54px);
  padding: 24px 24px 24px 0;
}

.topbar {
  position: relative;
  top: auto;
  z-index: 10;
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: rgba(7, 7, 8, 0.74);
  backdrop-filter: blur(24px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.topbar h2 {
  margin-top: 4px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.mobile-menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.2rem;
}

.mobile-menu-btn:hover {
  color: var(--gold-light);
  border-color: var(--border-gold);
}

.profile-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.profile-avatar,
.agent-photo-preview,
.upload-preview,
.mini-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #100d04;
  font-weight: 950;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  box-shadow: 0 0 34px rgba(212, 175, 55, 0.23);
}

.profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.profile-pill strong,
.profile-pill span {
  display: block;
}

.profile-pill span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.content-area {
  min-height: calc(100vh - 142px);
}

.page {
  display: none;
  animation: fadeUp 0.35s ease forwards;
}

.page.active {
  display: block;
  scroll-margin-top: 24px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* PANELS */

.hero-panel,
.preview-card,
.table-card,
.form-card,
.settings-card,
.mini-agent-card,
.stat-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.068), rgba(255, 255, 255, 0.026)),
    rgba(15, 15, 17, 0.8);
  backdrop-filter: blur(22px);
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.24);
}

.hero-panel {
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: clamp(34px, 4vw, 54px);
  overflow: hidden;
  position: relative;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -180px;
  top: -180px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  filter: blur(22px);
}

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

.hero-panel h1,
.section-heading h1 {
  max-width: 860px;
  margin: 12px 0 18px;
  font-size: clamp(2.2rem, 3.6vw, 4.15rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

.hero-panel p,
.section-heading p,
.stat-card p,
.preview-card p,
.settings-card p,
.mini-agent-card p,
.table-heading span,
.activity-list p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-panel p {
  max-width: 860px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.broker-stats {
  grid-template-columns: repeat(3, 1fr);
}

.stat-card {
  min-height: 168px;
  padding: 28px;
}

.stat-card span {
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.stat-card strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 2.35rem;
  letter-spacing: -0.06em;
}

.preview-card,
.table-card {
  margin-top: 24px;
  padding: 28px;
}

.agent-preview {
  display: flex;
  align-items: center;
  gap: 24px;
}

.agent-photo-preview {
  width: 116px;
  height: 116px;
  border-radius: 28px;
  font-size: 2rem;
}

.agent-preview h3 {
  margin: 8px 0;
  font-size: 1.8rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.social-row img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 50%;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.social-row img:hover {
  transform: translateY(-3px) scale(1.04);
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.35));
}

/* FORMS */

.section-heading {
  margin-bottom: 24px;
  padding: 10px 2px 2px;
}

.split-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.profile-form {
  display: grid;
  gap: 24px;
}

.image-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
}

.upload-preview {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  font-size: 1.7rem;
}

.image-card h3 {
  margin-bottom: 6px;
}

.image-card p {
  color: var(--muted);
  line-height: 1.7;
}

.image-card input {
  margin-top: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-grid label,
.full-field {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
}

.profile-form textarea {
  resize: vertical;
  min-height: 180px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* TABLES */

.table-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.activity-list {
  display: grid;
  gap: 16px;
}

.activity-list div {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.activity-list strong {
  display: block;
  margin-bottom: 4px;
}

.responsive-table {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 17px 14px;
  border-bottom: 1px solid var(--border);
}

th {
  color: var(--gold-light);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

td {
  color: #eee8d8;
}

tr:last-child td {
  border-bottom: 0;
}

.empty-state-cell {
  padding: 42px 18px;
  text-align: center;
  color: var(--muted);
  font-weight: 750;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 11px;
  font-size: 0.78rem;
  font-weight: 850;
}

.status.pending {
  color: #191205;
  background: var(--warning);
}

.status.active {
  color: #06150b;
  background: var(--success);
}

.small-btn {
  min-height: 34px;
  padding: 0 13px;
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  margin-right: 6px;
}

.small-btn:hover {
  border-color: var(--border-gold);
  color: var(--gold-light);
}

.small-btn.approve {
  color: #06150b;
  background: var(--success);
}

.small-btn.reject {
  color: #fff;
  background: rgba(255, 107, 107, 0.18);
  border-color: rgba(255, 107, 107, 0.35);
}

/* CARDS */

.cards-grid,
.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.settings-grid {
  grid-template-columns: repeat(2, 1fr);
}

.mini-agent-card,
.settings-card {
  padding: 28px;
}

.mini-avatar {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  margin-bottom: 16px;
}

.mini-agent-card h3 {
  margin-bottom: 6px;
}

.mini-agent-card .status {
  margin-top: 16px;
}

.settings-card h3 {
  margin-bottom: 8px;
}

.settings-card input {
  margin-top: 18px;
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .login-card {
    grid-template-columns: 1fr;
  }

  .single-card {
    grid-template-columns: 1fr;
  }

  .brand-area {
    padding: 48px 42px 12px;
    align-items: center;
    text-align: center;
  }

  .login-form {
    margin: 24px 42px 42px;
  }

  .stats-grid,
  .broker-stats,
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --sidebar-width: 270px;
  }

  .sidebar {
    transform: translateX(calc(-100% - 34px));
    transition: transform 0.25s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-shell {
    margin-left: 0;
    padding: 16px;
  }

  .topbar {
    top: auto;
  }

  .mobile-menu-btn {
    display: grid;
  }

  .hero-panel,
  .split-heading,
  .agent-preview,
  .image-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-pill {
    display: none;
  }

  .form-grid,
  .settings-grid,
  .stats-grid,
  .broker-stats,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions button,
  .form-actions a {
    width: 100%;
  }

  .hero-panel {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .login-screen {
    padding: 14px;
  }

  .login-card {
    min-height: auto;
    border-radius: 28px;
  }

  .brand-area {
    padding: 34px 24px 0;
  }

  .brand-logo {
    width: min(260px, 100%);
    margin-bottom: 24px;
  }

  .brand-area h1 {
    font-size: 2.28rem;
  }

  .brand-subtext {
    font-size: 0.96rem;
  }

  .login-form {
    padding: 24px;
    margin: 22px;
    border-radius: 24px;
  }

  .login-form input {
    min-height: 58px;
    margin-bottom: 26px;
  }

  .login-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .topbar {
    min-height: 82px;
    border-radius: 22px;
    padding: 14px;
  }

  .topbar h2 {
    font-size: 1.15rem;
  }

  .hero-panel h1,
  .section-heading h1 {
    font-size: 2.12rem;
  }

  .hero-panel,
  .preview-card,
  .table-card,
  .form-card,
  .settings-card,
  .mini-agent-card,
  .stat-card {
    border-radius: 21px;
  }

  .hero-panel,
  .preview-card,
  .table-card {
    padding: 24px;
  }

  .stat-card,
  .mini-agent-card,
  .settings-card,
  .image-card {
    padding: 22px;
  }

  .form-grid label,
  .full-field {
    padding: 18px;
  }

  .sidebar {
    inset: 10px auto 10px 10px;
    width: min(300px, calc(100vw - 20px));
  }

  .modal-card {
    padding: 28px;
    border-radius: 24px;
  }

  .modal-card h2 {
    font-size: 1.75rem;
  }

  table {
    min-width: 680px;
  }
}

.agent-secure-info {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.agent-secure-info span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.agent-secure-info strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  word-break: break-word;
}