:root {
  color-scheme: light;
  --bg: #f6f1e9;
  --bg-2: #eef4f1;
  --ink: #1f1a14;
  --muted: #6d6257;
  --accent: #1b7a6b;
  --accent-strong: #145b50;
  --highlight: #f0a04b;
  --card: rgba(255, 255, 255, 0.86);
  --stroke: rgba(63, 53, 45, 0.15);
  --shadow: 0 18px 45px rgba(33, 27, 21, 0.14);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: linear-gradient(140deg, var(--bg), var(--bg-2));
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -20% -10%;
  z-index: -2;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(circle at 15% 20%, rgba(27, 122, 107, 0.2), transparent 45%),
    radial-gradient(circle at 82% 18%, rgba(240, 160, 75, 0.22), transparent 40%),
    radial-gradient(circle at 75% 80%, rgba(27, 122, 107, 0.16), transparent 50%);
}

body::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.3;
  z-index: -1;
}

.app {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 32px 32px 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

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

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(27, 122, 107, 0.2);
}

.brand-eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-title {
  margin: 4px 0 0;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 24px;
  letter-spacing: 0.02em;
}

.session {
  display: flex;
  align-items: center;
  gap: 12px;
}

.activity-indicator {
  position: relative;
  display: flex;
  align-items: center;
}

.session-label {
  font-size: 14px;
  color: var(--muted);
}

.content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  animation: fadeIn 0.6s ease both;
}

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

.intro h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.intro p {
  margin: 0;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(27, 122, 107, 0.12);
  color: var(--accent-strong);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-bottom: 0;
}

.tabs-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 24px;
}

.tab {
  justify-content: start;
}

.tab {
  border: 1px solid rgba(27, 122, 107, 0.25);
  background: rgba(255, 255, 255, 0.75);
  color: var(--accent-strong);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.tab:hover {
  transform: translateY(-1px);
}

.tab.active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(27, 122, 107, 0.2);
}

.tab-panels {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.tab-panel {
  width: 100%;
}

.tab-panel {
  display: none;
  flex-direction: column;
  gap: 24px;
}

.tab-panel.active {
  display: flex;
}

.muted {
  color: var(--muted);
  margin: 0;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  color: var(--muted);
}

input:not([type="checkbox"]),
textarea {
  border-radius: 12px;
  border: 1px solid rgba(63, 53, 45, 0.2);
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.85);
}

.field input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(27, 122, 107, 0.3);
  border-color: rgba(27, 122, 107, 0.5);
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hint {
  font-size: 12px;
  color: var(--muted);
}

.error {
  margin: 0;
  font-size: 13px;
  color: #b3261e;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat {
  border-radius: 14px;
  border: 1px solid rgba(63, 53, 45, 0.12);
  background: rgba(255, 255, 255, 0.7);
  padding: 14px;
}

.stat-label {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat-value {
  margin: 6px 0 2px;
  font-size: 24px;
  font-weight: 600;
}

.stat-meta {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

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

.panel-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.panel-header--compact {
  margin-bottom: 8px;
}

.wallet-deposits {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(63, 53, 45, 0.12);
}

.wallet-deposits .list {
  margin-top: 10px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.chat-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.4fr);
  gap: 16px;
}

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

.chat-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.chat-list-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-filter {
  border-radius: 999px;
  border: 1px solid rgba(27, 122, 107, 0.24);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(236, 249, 245, 0.9);
  color: #0f3f38;
}

.chat-session {
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.chat-session.active {
  border-color: rgba(27, 122, 107, 0.5);
  box-shadow: 0 12px 24px rgba(27, 122, 107, 0.16);
}

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-thread-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.chat-thread-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(63, 53, 45, 0.12);
  border-radius: 12px;
  background: rgba(236, 249, 245, 0.7);
}

.chat-thread-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #0f3f38;
}

.chat-select input {
  width: 16px;
  height: 16px;
  accent-color: #0f766e;
}

.chat-messages {
  border: 1px solid rgba(63, 53, 45, 0.12);
  border-radius: 14px;
  background: rgba(236, 249, 245, 0.85);
  padding: 12px;
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-message {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 80%;
  min-width: 0;
}

.chat-message.user {
  align-self: flex-start;
}

.chat-message.admin {
  align-self: flex-end;
  text-align: right;
}

.chat-message.bot {
  align-self: flex-start;
}

.chat-bubble-wrap {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.chat-message.admin .chat-bubble-wrap {
  flex-direction: row-reverse;
}

.chat-bubble-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.chat-select-box {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: #0f766e;
}

.chat-bubble {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(27, 122, 107, 0.2);
  color: #1f2937;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 6px 14px rgba(15, 118, 110, 0.08);
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
}

.chat-message.admin .chat-bubble {
  background: rgba(27, 122, 107, 0.16);
  border-color: rgba(27, 122, 107, 0.18);
  color: var(--accent-strong);
}

.chat-message.bot .chat-bubble {
  background: rgba(240, 160, 75, 0.12);
  border-color: rgba(240, 160, 75, 0.22);
  color: #8a4b16;
}

.chat-meta {
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.chat-session .list-title {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.chat-session .list-meta {
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chat-thread-header .hint {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.chat-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chat-attachment {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 11px;
  color: var(--accent-strong);
  text-decoration: none;
  border: 1px solid rgba(27, 122, 107, 0.2);
  padding: 4px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  gap: 4px;
}

.chat-attachment img {
  width: 160px;
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(27, 122, 107, 0.2);
}

.chat-composer {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.chat-composer textarea {
  flex: 1;
  resize: vertical;
  min-height: 60px;
  border-radius: 12px;
  border: 1px solid rgba(63, 53, 45, 0.12);
  padding: 10px;
  font-family: inherit;
  font-size: 13px;
  background: rgba(236, 249, 245, 0.9);
}

@media (max-width: 980px) {
  .chat-grid {
    grid-template-columns: 1fr;
  }
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn.icon {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(27, 122, 107, 0.28);
  color: var(--accent-strong);
  box-shadow: 0 12px 24px rgba(27, 122, 107, 0.18);
}

.btn.icon svg {
  width: 18px;
  height: 18px;
}

.btn.icon.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(27, 122, 107, 0.25);
  border-color: transparent;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(27, 122, 107, 0.25);
}

.btn.ghost {
  background: transparent;
  color: var(--accent-strong);
  border: 1px solid rgba(27, 122, 107, 0.3);
}

.btn.danger {
  background: #b3261e;
  color: #fff;
  border: 1px solid rgba(179, 38, 30, 0.4);
  box-shadow: 0 12px 24px rgba(179, 38, 30, 0.2);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--highlight);
  color: #1f1a14;
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(240, 160, 75, 0.35);
}

.activity-tray {
  position: absolute;
  top: 48px;
  right: 0;
  width: 320px;
  max-height: 440px;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 12;
}

.activity-tray-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.activity-tray-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.activity-tray-actions .btn {
  padding: 6px 10px;
  font-size: 12px;
}

.tray-eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.tray-title {
  margin: 2px 0 0;
  font-size: 16px;
}

.activity-tray-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.activity-tray .list-item {
  padding: 10px 12px;
  border: 1px solid rgba(63, 53, 45, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.activity-tray .list-meta {
  margin-top: 4px;
}

#notificationPanel.modal.active {
  align-items: flex-start;
  justify-content: flex-end;
}

#notificationPanel .modal-dialog.notification-panel {
  width: min(720px, 94vw);
  max-height: 88vh;
  margin: 24px;
  padding: 24px;
  overflow: hidden;
}

.notification-panel-body {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  overflow-y: auto;
  padding-right: 6px;
}

.notification-section {
  border: 1px solid rgba(63, 53, 45, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  padding: 16px;
}

.notification-section .list {
  margin-top: 12px;
}

.notification-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.notification-item {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.notification-item .list-right {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.notification-item.is-unread {
  border-color: rgba(240, 160, 75, 0.45);
  background: rgba(255, 255, 255, 0.92);
}

.notification-item.is-read {
  opacity: 0.75;
}

.notification-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(33, 27, 21, 0.08);
}

.notification-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--highlight);
  box-shadow: 0 0 0 4px rgba(240, 160, 75, 0.15);
}

.notification-item.is-read .notification-dot {
  display: none;
}

@media (max-width: 900px) {
  #notificationPanel .modal-dialog.notification-panel {
    margin: 16px;
    max-height: 92vh;
  }
}

.panel-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-actions .btn {
  padding: 6px 10px;
  font-size: 12px;
}

#activityPreview .list-item,
#liveActivityPreview .list-item {
  border: 1px solid rgba(63, 53, 45, 0.12);
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

#liveActivityPreview .list-item .pill {
  background: rgba(63, 53, 45, 0.08);
}

/* Verification submissions list polish */
#verificationRequestsList {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#verificationRequestsList .list-item {
  border: 1px solid rgba(63, 53, 45, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

#verificationRequestsList .list-item:hover {
  transform: translateY(-1px);
  border-color: rgba(63, 53, 45, 0.2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

#verificationRequestsList .list-item.active {
  border-color: var(--accent-strong);
  box-shadow: 0 12px 28px rgba(240, 160, 75, 0.18);
}

#verificationRequestsList .list-meta {
  color: var(--muted);
}

/* Verification Services Panel */
.verification-shell {
  background: radial-gradient(circle at 10% 20%, rgba(27, 122, 107, 0.06), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(27, 122, 107, 0.04), transparent 35%),
    linear-gradient(180deg, #fdfefc 0%, #f8faf9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.verification-shell .panel-header {
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.verification-shell .service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.verification-shell .service-card {
  position: relative;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.verification-shell .service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(27, 122, 107, 0.1);
  border-color: rgba(27, 122, 107, 0.25);
}

.verification-shell .service-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 16px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.8) 0%, transparent 100%);
}

.verification-shell .service-card-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.verification-shell .service-card-desc {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

.verification-shell .service-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.verification-shell .service-status-badge .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.verification-shell .service-card-body {
  padding: 0 20px 20px;
}

.verification-shell .service-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 16px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(27, 122, 107, 0.08) 0%, rgba(27, 122, 107, 0.04) 100%);
  border-radius: 12px;
  border: 1px solid rgba(27, 122, 107, 0.12);
}

.verification-shell .service-pricing-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-right: auto;
}

.verification-shell .service-pricing-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-strong);
}

.verification-shell .service-pricing-unit {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.verification-shell .service-pricing-eta {
  padding-left: 12px;
  border-left: 1px solid rgba(27, 122, 107, 0.2);
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.verification-shell .service-field {
  margin-bottom: 14px;
}

.verification-shell .service-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}

.verification-shell .service-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.verification-shell .service-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(27, 122, 107, 0.12);
}

.verification-shell .service-card-footer {
  padding: 16px 20px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.verification-shell .service-save-btn {
  width: 100%;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.verification-shell .service-save-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(27, 122, 107, 0.25);
}

.verification-shell .submissions-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.verification-shell .submissions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
}

.verification-shell .submissions-header h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.verification-shell .submissions-header p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
}

.verification-shell .submissions-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

@media (max-width: 1024px) {
  .verification-shell .submissions-body {
    grid-template-columns: 1fr;
  }
}

.verification-shell .submissions-list-section {
  padding: 20px;
  border-right: 1px solid #e2e8f0;
}

.verification-shell .submissions-detail-section {
  padding: 20px;
  background: #f8fafc;
}

.verification-shell .filter-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.verification-shell .filter-row select,
.verification-shell .filter-row input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-size: 13px;
  color: #0f172a;
}

.verification-shell .filter-row select:focus,
.verification-shell .filter-row input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(27, 122, 107, 0.1);
}

.verification-shell .submission-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 150ms ease;
}

.verification-shell .submission-item:hover {
  border-color: rgba(27, 122, 107, 0.3);
  background: rgba(27, 122, 107, 0.02);
}

.verification-shell .submission-item.active {
  border-color: var(--accent);
  background: rgba(27, 122, 107, 0.05);
  box-shadow: 0 4px 12px rgba(27, 122, 107, 0.1);
}

.verification-shell .submission-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(27, 122, 107, 0.12) 0%, rgba(27, 122, 107, 0.06) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 16px;
}

.verification-shell .submission-info {
  flex: 1;
  min-width: 0;
}

.verification-shell .submission-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.verification-shell .submission-meta {
  margin: 2px 0 0;
  font-size: 11px;
  color: #64748b;
}

.verification-shell .submission-status {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.verification-shell .submission-status.pending {
  background: rgba(251, 191, 36, 0.15);
  color: #92400e;
}

.verification-shell .submission-status.completed {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
}

.verification-shell .detail-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
}

.verification-shell .detail-card h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.verification-shell .detail-card p.muted {
  margin: 0 0 16px;
  font-size: 12px;
  color: #64748b;
}

.verification-shell .detail-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.verification-shell .detail-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 24px;
  margin-bottom: 12px;
}

.verification-shell .detail-empty p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.verification-shell .detail-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.verification-shell .detail-actions .btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

.verification-shell .pagination-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  margin-top: 16px;
}

.verification-shell .pagination-row .hint {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.verification-shell .pagination-row .actions {
  gap: 6px;
}

.verification-shell .pagination-row .btn {
  padding: 8px 14px;
  font-size: 11px;
  border-radius: 8px;
}

.detail {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(63, 53, 45, 0.12);
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.detail-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.list-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(63, 53, 45, 0.12);
  background: rgba(255, 255, 255, 0.6);
}

.list-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.list-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.list-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.25);
  backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  width: min(480px, 90%);
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.barcode-img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(63, 53, 45, 0.2);
  margin-top: 8px;
}

.barcode-preview {
  width: 100%;
  min-height: 120px;
  border-radius: 12px;
  border: 1px dashed rgba(63, 53, 45, 0.3);
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
  padding: 8px;
}

.barcode-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.barcode-preview.empty {
  font-style: normal;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(27, 122, 107, 0.12);
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow: hidden;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.list-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
}

.list-meta {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.list-link {
  font-size: 11px;
  color: var(--accent-strong);
  text-decoration: none;
}

.list-link:hover {
  text-decoration: underline;
}

.file-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.file-thumb {
  border-radius: 12px;
  border: 1px solid rgba(63, 53, 45, 0.12);
  background: rgba(255, 255, 255, 0.7);
  padding: 8px;
  font-size: 10px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.file-thumb img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.file-thumb a {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-strong);
  text-decoration: none;
}

.file-empty {
  font-size: 11px;
  color: var(--muted);
}

.file-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-strong);
  text-decoration: none;
}

.file-preview-link {
  display: block;
  text-decoration: none;
}

.list-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.wallet-list-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.wallet-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.wallet-actions .btn {
  padding: 6px 12px;
  font-size: 11px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(27, 122, 107, 0.12);
  color: var(--accent-strong);
}

.pill.off {
  background: rgba(179, 38, 30, 0.12);
  color: #b3261e;
}

.pill.warn {
  background: rgba(240, 160, 75, 0.16);
  color: #8a4b16;
}

.pill.typing {
  background: rgba(27, 122, 107, 0.12);
  color: var(--accent-strong);
  text-transform: none;
  letter-spacing: 0.02em;
  margin-top: 6px;
  gap: 6px;
}

.pill.typing::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #0f766e;
  display: inline-block;
  animation: pulse-dot 1.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.hidden {
  display: none;
}

/* Case Management Filters */
.case-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.case-filters .filter-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(27, 122, 107, 0.2);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.case-filters .filter-btn:hover {
  background: rgba(27, 122, 107, 0.08);
  border-color: rgba(27, 122, 107, 0.35);
  color: var(--accent-strong);
}

.case-filters .filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(27, 122, 107, 0.25);
}

/* Case Cards */
.case-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(63, 53, 45, 0.1);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.case-card:hover {
  border-color: rgba(27, 122, 107, 0.25);
  box-shadow: 0 8px 28px rgba(27, 122, 107, 0.08);
  transform: translateY(-2px);
}

.case-card__main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.case-card__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.case-card__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(27, 122, 107, 0.12), rgba(27, 122, 107, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
}

.case-card__title-group {
  flex: 1;
  min-width: 0;
}

.case-card__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-card__meta {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.case-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-badge--status {
  background: linear-gradient(135deg, rgba(27, 122, 107, 0.15), rgba(27, 122, 107, 0.08));
  color: var(--accent-strong);
}

.case-badge--kyc {
  background: rgba(240, 160, 75, 0.15);
  color: #8a4b16;
}

.case-badge--kyc.approved {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.case-badge--kyc.rejected {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.case-badge--service {
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
}

.case-badge--service.free {
  background: rgba(148, 163, 184, 0.15);
  color: #64748b;
}

.case-badge--paid {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.08));
  color: #047857;
}

.case-badge--pending {
  background: rgba(251, 191, 36, 0.15);
  color: #92400e;
}

.case-badge--refunded {
  background: rgba(59, 130, 246, 0.14);
  color: #1d4ed8;
}

.case-card__timeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.case-card__timeline-item {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  background: rgba(226, 232, 240, 0.6);
  color: #64748b;
}

.case-card__timeline-item.current {
  background: var(--accent);
  color: #fff;
}

.case-card__timeline-arrow {
  color: #cbd5e1;
  font-size: 10px;
}

.case-card__evidence {
  margin-top: 4px;
}

.case-card__sidebar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 200px;
}

.case-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.case-card__actions .btn {
  padding: 8px 14px;
  font-size: 11px;
  border-radius: 8px;
}

.case-card__actions .btn.ghost {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(27, 122, 107, 0.25);
}

.case-card__actions .btn.ghost:hover {
  background: rgba(27, 122, 107, 0.06);
  border-color: rgba(27, 122, 107, 0.4);
}

.case-card__actions .btn.danger {
  padding: 8px 12px;
  font-size: 11px;
  border-radius: 8px;
}

.case-card__status-control {
  display: flex;
  gap: 6px;
  align-items: center;
}

.case-card__status-control select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(63, 53, 45, 0.15);
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  color: var(--ink);
  min-width: 150px;
  cursor: pointer;
}

.case-card__status-control select:focus {
  outline: 2px solid rgba(27, 122, 107, 0.3);
  border-color: rgba(27, 122, 107, 0.4);
}

/* News Panel Styles */
.news-shell {
  background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.06), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(99, 102, 241, 0.04), transparent 35%),
    linear-gradient(180deg, #fdfefe 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.news-shell .panel-header {
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.news-shell .chip {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

.news-shell .news-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  transition: all 150ms ease;
}

.news-shell .news-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.08);
  transform: translateY(-1px);
}

.news-shell .news-card-image {
  width: 120px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-shell .news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-shell .news-card-image-placeholder {
  color: #94a3b8;
  font-size: 24px;
}

.news-shell .news-card-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.news-shell .news-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-shell .news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #64748b;
}

.news-shell .news-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-shell .news-card-summary {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-shell .news-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.news-shell .news-card-tag {
  padding: 2px 8px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.news-shell .news-card-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.news-shell .news-card-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.news-shell .news-card-badge.active {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.news-shell .news-card-badge.inactive {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.news-shell .news-card-badge.featured {
  background: rgba(251, 191, 36, 0.15);
  color: #92400e;
}

@media (max-width: 768px) {
  .news-shell .news-card {
    grid-template-columns: 1fr;
  }
  .news-shell .news-card-image {
    width: 100%;
    height: 140px;
  }
}

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

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .session {
    width: 100%;
    justify-content: space-between;
  }
}
