/* ==========================================================================
   MNO Moniker Design System — Inherited from /Apps/Moniker
   Palette: Lumino Obsidian (#180900), Lumino Orange (#EF8317), Lumino Red (#CB010F)
   Rule: ALL cards, containers, buttons, inputs, pills, badges, modals, switches strictly 10px radius
   Typography: Regular, modern sans-serif (Inter / system-ui)
   ========================================================================== */

:root {
  /* Moniker Core Colors */
  --color-lumino-orange: #EF8317;
  --color-lumino-orange-hover: #d9710f;
  --color-lumino-red: #CB010F;
  --color-lumino-amber-glow: rgba(239, 131, 23, 0.4);

  /* Background Shades */
  --bg-dark: #180900;
  --bg-card: rgba(29, 12, 0, 0.82);
  --bg-card-hover: rgba(42, 17, 2, 0.92);
  --bg-card-elevated: rgba(24, 9, 0, 0.94);
  --bg-input: rgba(18, 7, 0, 0.75);

  /* Glass Borders */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-orange: rgba(239, 131, 23, 0.28);
  --border-focus: #EF8317;

  /* Typography Colors */
  --text-main: #ffffff;
  --text-muted: #9ca3af;
  --text-sub: #6b7280;
  --text-orange: #EF8317;

  /* Functional Accents */
  --primary: #EF8317;
  --primary-hover: #d9710f;
  --fb-blue: #1877f2;
  --fb-blue-hover: #166fe5;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Strict Universal 10px Border Radius System */
  --radius-lg: 10px;
  --radius-md: 10px;
  --radius-sm: 10px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Headings use clean, modern regular typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: -0.01em;
  font-weight: 700;
}

/* Global Moniker Scrollbar System */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(239, 131, 23, 0.4);
}

/* Fix for dark calendar icon visibility (from Moniker) */
input::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

/* Moniker Ambient Background Glow System */
.fixed-glows-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  animation: pulse-slow 8s infinite alternate;
}

.glow-orange {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(239, 131, 23, 0.35) 0%, rgba(0, 0, 0, 0) 70%);
}

.glow-red {
  bottom: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(203, 1, 15, 0.28) 0%, rgba(0, 0, 0, 0) 70%);
}

@keyframes pulse-slow {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 8px 32px rgba(239, 131, 23, 0.5));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 12px 40px rgba(239, 131, 23, 0.75));
  }
}

/* Layout Utilities */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

/* Header (Moniker Brand Bar) */
.app-header {
  background: rgba(24, 9, 0, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-glass-orange);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

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

.moniker-header-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(239, 131, 23, 0.35));
  transition: transform 0.3s ease;
}

.moniker-header-logo:hover {
  transform: scale(1.03);
}

.brand-divider {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, rgba(239, 131, 23, 0.6), transparent);
}

.brand-text h1 {
  font-size: 1.35rem;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 0 12px rgba(239, 131, 23, 0.25);
}

.brand-subline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
}

.brand-accent-line {
  height: 1px;
  width: 14px;
  background: linear-gradient(to right, transparent, rgba(239, 131, 23, 0.7));
}

.version-tag {
  font-size: 0.65rem;
  color: var(--color-lumino-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-family: system-ui, sans-serif;
}

/* System Status Pills (Strict 10px) */
.system-status-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.status-pill {
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: var(--transition);
}

.status-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 10px;
  background-color: var(--warning);
}

.status-pill.online {
  color: #f3f4f6;
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
}

.status-pill.online .dot {
  background-color: var(--success);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
}

.status-pill.offline {
  color: var(--text-muted);
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
}

.status-pill.offline .dot {
  background-color: var(--danger);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

/* Main Content Wrapper */
.main-content {
  padding-top: 32px;
  padding-bottom: 60px;
}

/* Base Card (Strict 10px) */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(239, 131, 23, 0.25);
}

/* Auth Hero Card — Moniker Lumino Highlight (Strict 10px) */
.auth-hero-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  padding: 34px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(35, 14, 2, 0.88) 0%, rgba(20, 8, 1, 0.96) 100%);
  border: 1px solid rgba(239, 131, 23, 0.32);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(239, 131, 23, 0.08);
}

.auth-hero-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(239, 131, 23, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.badge-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: rgba(239, 131, 23, 0.14);
  color: var(--color-lumino-orange);
  border: 1px solid rgba(239, 131, 23, 0.35);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.auth-hero-content h2 {
  font-size: 2rem;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  color: #fff;
  text-shadow: 0 0 20px rgba(239, 131, 23, 0.35);
}

.auth-hero-content .description {
  color: #d1d5db;
  font-size: 0.95rem;
  margin-bottom: 22px;
  max-width: 580px;
  line-height: 1.6;
}

.permissions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.perm-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e5e7eb;
  font-size: 0.9rem;
}

.perm-item svg {
  color: var(--color-lumino-orange);
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(239, 131, 23, 0.5));
}

/* Auth Action Box (Strict 10px) */
.auth-action-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(18, 7, 0, 0.82);
  border: 1px solid rgba(239, 131, 23, 0.22);
  border-radius: 10px;
  padding: 28px;
  text-align: center;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 16px 0;
  color: var(--text-sub);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-glass);
}

.divider span {
  padding: 0 12px;
}

.auth-note {
  font-size: 0.76rem;
  color: var(--text-sub);
  margin-top: 14px;
  line-height: 1.4;
}

/* Buttons (Strict 10px) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer !important;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.84rem;
  border-radius: 10px;
}

/* Moniker Signature Lumino Gradient Button */
.btn-primary {
  background: linear-gradient(135deg, #EF8317 0%, #CB010F 100%);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(239, 131, 23, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(239, 131, 23, 0.7);
  filter: brightness(1.08);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-fb-primary {
  background: var(--fb-blue);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(24, 119, 242, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-fb-primary:hover {
  background: var(--fb-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(24, 119, 242, 0.6);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
}

.btn-outline:hover {
  background: rgba(239, 131, 23, 0.14);
  border-color: rgba(239, 131, 23, 0.45);
  color: #fff;
  box-shadow: 0 0 14px rgba(239, 131, 23, 0.2);
}

.btn-danger {
  background: rgba(203, 1, 15, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(203, 1, 15, 0.35);
  border-radius: 10px;
}

.btn-danger:hover {
  background: rgba(203, 1, 15, 0.3);
  color: #fff;
  border-color: rgba(203, 1, 15, 0.6);
}

/* Navigation Tabs (Strict 10px) */
.tabs-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-glass-orange);
  padding-bottom: 12px;
  overflow-x: auto;
}

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer !important;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  color: #fff;
  background: rgba(239, 131, 23, 0.16);
  border: 1px solid rgba(239, 131, 23, 0.45);
  box-shadow: 0 0 15px rgba(239, 131, 23, 0.18);
}

.tab-btn.active svg {
  color: var(--color-lumino-orange);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

/* Section Headers */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-header h3 {
  font-size: 1.45rem;
  color: #fff;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.page-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  transition: var(--transition);
}

.page-card:hover {
  border-color: rgba(239, 131, 23, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 18px rgba(239, 131, 23, 0.12);
}

.page-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.page-icon {
  width: 44px;
  height: 44px;
  background: rgba(239, 131, 23, 0.14);
  border: 1px solid rgba(239, 131, 23, 0.35);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-lumino-orange);
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(239, 131, 23, 0.2);
}

.page-title {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: #fff;
}

.page-meta {
  font-size: 0.82rem;
  color: var(--text-sub);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.token-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-family: monospace;
  background: rgba(0, 0, 0, 0.45);
  padding: 6px 10px;
  border-radius: 10px;
  color: #fbd38d;
  margin-top: 10px;
  word-break: break-all;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Switch Toggle (Strict 10px everywhere) */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.12);
  transition: .3s;
  border-radius: 10px; /* Strict 10px */
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 10px; /* Strict 10px */
}

input:checked + .slider {
  background-color: var(--color-lumino-orange);
  box-shadow: 0 0 12px rgba(239, 131, 23, 0.5);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.page-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}

/* Data Tables (Moniker Style, Strict 10px) */
.table-responsive {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.data-table th, 
.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table th {
  color: #9ca3af;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-family: monospace;
  background: rgba(255, 255, 255, 0.03);
}

.data-table tr:hover td {
  background: rgba(239, 131, 23, 0.03);
}

.data-table td strong {
  color: #fff;
}

.search-input {
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 10px 16px;
  color: #fff;
  font-size: 0.88rem;
  width: 280px;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--color-lumino-orange);
  box-shadow: 0 0 12px rgba(239, 131, 23, 0.35);
  background: rgba(0, 0, 0, 0.65);
}

.table-link {
  color: var(--color-lumino-orange);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: var(--transition);
}

.table-link:hover {
  color: #fbd38d;
  text-shadow: 0 0 8px rgba(239, 131, 23, 0.4);
}

/* Simulator Layout */
.simulator-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
}

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

.sim-card {
  padding: 24px;
  background: var(--bg-card);
  border-radius: 10px;
}

.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1;
  min-width: 200px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: monospace;
  margin-bottom: 6px;
  color: #9ca3af;
}

.form-group input,
.form-group textarea,
.form-select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-select:focus {
  border-color: var(--color-lumino-orange);
  box-shadow: 0 0 12px rgba(239, 131, 23, 0.35);
  background: rgba(0, 0, 0, 0.75);
}

.form-select option {
  background: #180900;
  color: #fff;
}

.form-hint {
  display: block;
  font-size: 0.74rem;
  color: var(--text-sub);
  margin-top: 4px;
}

.preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.chip-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 6px 12px;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer !important;
  transition: var(--transition);
}

.chip-btn:hover {
  background: rgba(239, 131, 23, 0.16);
  color: #fbd38d;
  border-color: rgba(239, 131, 23, 0.45);
}

.btn-block {
  width: 100%;
  margin-top: 14px;
}

.form-check-box {
  margin: 16px 0;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-muted);
  cursor: pointer;
}

/* Simulator Output Side */
.sim-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  text-align: center;
  color: var(--text-sub);
  padding: 30px;
}

.sim-placeholder svg {
  margin-bottom: 16px;
  color: var(--color-lumino-orange);
  opacity: 0.6;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-glass);
}

.badge-intent {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  text-transform: uppercase;
}

.badge-qualification {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(239, 131, 23, 0.18);
  color: var(--color-lumino-orange);
  border: 1px solid rgba(239, 131, 23, 0.4);
  margin-left: 6px;
  text-transform: uppercase;
}

.agent-timer {
  font-size: 0.76rem;
  color: var(--text-sub);
  font-family: monospace;
}

.entities-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass-orange);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 18px;
}

.entities-box h5 {
  font-size: 0.78rem;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  font-family: monospace;
}

.entities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px 14px;
  font-size: 0.85rem;
}

.entities-grid span {
  color: #fbd38d;
  font-weight: 500;
}

/* Reply Bubbles (Strict 10px) */
.reply-preview-box {
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 16px;
  position: relative;
}

.reply-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  font-family: monospace;
}

.fb-public-bubble {
  background: rgba(24, 119, 242, 0.08);
  border-left: 4px solid var(--fb-blue);
  border-top: 1px solid var(--border-glass);
  border-right: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.fb-public-bubble .reply-header span {
  color: #93c5fd;
}

.fb-private-bubble {
  background: linear-gradient(135deg, rgba(239, 131, 23, 0.12), rgba(203, 1, 15, 0.12));
  border-left: 4px solid var(--color-lumino-orange);
  border-top: 1px solid var(--border-glass);
  border-right: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.fb-private-bubble .reply-header span {
  color: #fbd38d;
}

.reply-body {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #f3f4f6;
}

.btn-copy {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 10px;
  cursor: pointer !important;
  transition: var(--transition);
}

.btn-copy:hover {
  background: rgba(239, 131, 23, 0.25);
  color: #fff;
}

.reasoning-box {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border: 1px dashed var(--border-glass-orange);
}

.reasoning-box h5 {
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 4px;
  font-family: monospace;
}

.card-inner-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-glass);
}

.card-inner-header h4 {
  font-size: 1.15rem;
  color: #fff;
}

.mb-4 {
  margin-bottom: 24px;
}

/* Modal (Strict 10px) */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 4, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: rgba(24, 9, 0, 0.96);
  border: 1px solid var(--border-glass-orange);
  border-radius: 10px;
  width: 100%;
  max-width: 520px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(239, 131, 23, 0.15);
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.modal-header h4 {
  font-size: 1.4rem;
  color: #fff;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer !important;
  line-height: 1;
}

.modal-close:hover {
  color: #fff;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

/* Toast Notifications (Strict 10px) */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 300;
}

.toast {
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s ease;
  min-width: 280px;
  backdrop-filter: blur(10px);
}

.toast-success {
  background: rgba(16, 185, 129, 0.95);
  border: 1px solid #10b981;
}

.toast-error {
  background: rgba(203, 1, 15, 0.95);
  border: 1px solid #CB010F;
}

.toast-info {
  background: rgba(30, 12, 1, 0.95);
  border: 1px solid var(--color-lumino-orange);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.loading-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--text-sub);
}

@media (max-width: 768px) {
  .auth-hero-card {
    grid-template-columns: 1fr;
  }
}
