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

:root {
  --bg:       #0f0f13;
  --surface:  #1a1a22;
  --surface2: #22222e;
  --border:   rgba(255,255,255,0.08);
  --accent:   #ff5500;
  --accent2:  #ff2200;
  --text:     #f0f0f0;
  --text2:    rgba(240,240,240,0.55);
  --sidebar-w: 220px;
  --topbar-h:  56px;
}

body {
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ════════════════════════
   ADMIN LOGIN
════════════════════════ */
.admin-login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(ellipse at 30% 40%, rgba(255,80,0,0.18), transparent 60%),
              radial-gradient(ellipse at 80% 70%, rgba(180,20,0,0.14), transparent 55%),
              var(--bg);
}

.admin-login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.admin-login-logo {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(255,60,0,0.4);
  margin-bottom: 8px;
}
.admin-login-logo svg { width: 28px; height: 28px; stroke: #fff; }

.admin-login-title { font-size: 22px; font-weight: 900; color: var(--text); }
.admin-login-sub   { font-size: 12px; color: var(--text2); margin-bottom: 16px; }

.admin-login-card form { width: 100%; display: flex; flex-direction: column; gap: 14px; }

.adm-input-group { display: flex; flex-direction: column; gap: 6px; }
.adm-input-group label { font-size: 11px; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: 0.5px; }
.adm-input-group input,
.adm-input-group select {
  height: 46px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--text);
  font-family: Arial, sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
@keyframes admInputBlink {
  0%,100% { box-shadow: 0 0 0 2.5px rgba(255,85,0,0.55), 0 2px 10px rgba(255,60,0,0.2); border-color: var(--accent); }
  50%      { box-shadow: 0 0 0 4px rgba(255,85,0,0.15), 0 2px 14px rgba(255,60,0,0.08); border-color: rgba(255,140,60,0.55); }
}
.adm-input-group input:focus,
.adm-input-group select:focus,
.adm-input-group textarea:focus,
.adm-input-group input.focused,
.adm-input-group select.focused,
.adm-input-group textarea.focused {
  border-color: var(--accent);
  background: rgba(255,85,0,0.08);
  animation: admInputBlink 1.1s ease-in-out infinite;
  color: var(--text);
}
.adm-input-group select { cursor: pointer; }
.adm-input-group select option,
.adm-search option { background: #fff; color: #111; font-weight: 600; }
.adm-input-group input::placeholder { color: rgba(240,240,240,0.3); }

.adm-pw-wrap { position: relative; display: flex; align-items: center; }
.adm-pw-wrap input { width: 100%; padding-right: 44px; }
.adm-eye {
  position: absolute; right: 0;
  width: 44px; height: 46px;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.adm-eye svg { width: 18px; height: 18px; stroke: var(--text2); transition: stroke 0.2s; }
.adm-eye:hover svg { stroke: var(--text); }

.adm-error { font-size: 12px; color: #ff7a7a; min-height: 16px; font-weight: 600; }

.adm-login-btn {
  height: 48px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255,60,0,0.4);
  transition: filter 0.2s, transform 0.15s;
  margin-top: 4px;
}
.adm-login-btn:hover  { filter: brightness(1.1); }
.adm-login-btn:active { transform: scale(0.98); }
.adm-login-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ════════════════════════
   ADMIN APP LAYOUT
════════════════════════ */
.admin-app {
  display: flex;
  height: 100vh;
  overflow: hidden;
}
.admin-app.hidden { display: none; }

/* ── Sidebar ── */
.admin-sidebar {
  width: var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: 100vh;
  position: relative;
  z-index: 50;
}

.sidebar-brand {
  padding: 22px 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-logo-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.25);
  box-shadow: 0 0 0 2px rgba(255,85,0,0.3);
}
.sidebar-logo-text { font-size: 16px; font-weight: 900; color: var(--text); }
.sidebar-badge {
  font-size: 9px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sidebar-nav {
  flex: 1;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  background: none;
  color: var(--text2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  width: 100%;
  text-align: left;
}
.sidebar-item svg { width: 18px; height: 18px; stroke: currentColor; fill: none; flex-shrink: 0; }
.sidebar-item:hover { background: var(--surface2); color: var(--text); }
.sidebar-item.active {
  background: linear-gradient(135deg, rgba(255,85,0,0.2), rgba(255,34,0,0.12));
  color: #ff7744;
  border: 1px solid rgba(255,85,0,0.25);
}

.sidebar-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: none;
  border-top: 1px solid var(--border);
  background: none;
  color: var(--text2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.18s;
  width: 100%;
}
.sidebar-logout svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
.sidebar-logout:hover { color: #ff7a7a; }

/* ── Mobile topbar (hidden on desktop) ── */
.admin-topbar { display: none; }

/* ── Main content ── */
.admin-main {
  flex: 1;
  overflow-y: auto;
  padding: 28px 28px;
  scrollbar-width: thin;
  scrollbar-color: var(--surface2) transparent;
}

/* ── Tab sections ── */
.admin-tab { display: none; }
.admin-tab.active { display: block; }

.tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.tab-header h2 { font-size: 22px; font-weight: 900; color: var(--text); }
.tab-header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.adm-refresh-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text2);
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.adm-refresh-btn svg { width: 14px; height: 14px; stroke: currentColor; }
.adm-refresh-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Overview stats ── */
.overview-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; }
.stat-info { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-size: 28px; font-weight: 900; color: var(--text); line-height: 1; }
.stat-lbl { font-size: 12px; color: var(--text2); font-weight: 600; }

/* ── Search ── */
.adm-search {
  height: 40px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 14px;
  font-size: 13px;
  color: var(--text);
  font-family: Arial, sans-serif;
  outline: none;
  min-width: 220px;
  transition: border-color 0.2s;
}
.adm-search:focus {
  border-color: var(--accent);
  background: rgba(255,85,0,0.07);
  animation: admInputBlink 1.1s ease-in-out infinite;
  outline: none;
}
.adm-pw-wrap input:focus {
  border-color: var(--accent);
  background: rgba(255,85,0,0.08);
  animation: admInputBlink 1.1s ease-in-out infinite;
}
/* Date picker calendar icon */
.adm-input-group input[type="date"] { color-scheme: dark; }
.adm-input-group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.65) sepia(1) saturate(4) hue-rotate(10deg);
  cursor: pointer;
  opacity: 0.65;
}
.adm-input-group input[type="date"]:focus::-webkit-calendar-picker-indicator,
.adm-input-group input[type="date"]:hover::-webkit-calendar-picker-indicator {
  opacity: 1;
}
.adm-search::placeholder { color: rgba(240,240,240,0.3); }

/* ── Table ── */
.adm-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  overflow-x: auto;
}

.adm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 600px;
}

.adm-table thead tr {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.adm-table th {
  padding: 13px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.adm-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.adm-table tbody tr:last-child { border-bottom: none; }
.adm-table tbody tr:hover { background: var(--surface2); }

.adm-table td {
  padding: 12px 16px;
  color: var(--text);
  vertical-align: middle;
  white-space: nowrap;
}

.adm-loading { text-align: center; color: var(--text2); padding: 32px; }

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.status-active   { background: rgba(0,200,83,0.15); color: #00e666; border: 1px solid rgba(0,200,83,0.3); }
.status-blocked  { background: rgba(255,50,50,0.15); color: #ff6060; border: 1px solid rgba(255,50,50,0.3); }
.status-inactive { background: rgba(180,180,180,0.1); color: #999; border: 1px solid rgba(180,180,180,0.2); }

/* Action buttons in table */
.tbl-actions { display: flex; gap: 6px; align-items: center; }

.tbl-btn {
  height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  border: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.18s, transform 0.13s;
  white-space: nowrap;
}
.tbl-btn:active { transform: scale(0.95); }
.tbl-btn-edit   { background: rgba(255,120,0,0.18); color: #ff9944; border: 1px solid rgba(255,120,0,0.3); }
.tbl-btn-block  { background: rgba(255,200,0,0.12); color: #ffcc44; border: 1px solid rgba(255,200,0,0.25); }
.tbl-btn-unblock{ background: rgba(0,200,83,0.12); color: #44dd88; border: 1px solid rgba(0,200,83,0.25); }
.tbl-btn-delete { background: rgba(255,50,50,0.12); color: #ff6060; border: 1px solid rgba(255,50,50,0.25); }
.tbl-btn:hover  { filter: brightness(1.2); }

/* ════════════════════════
   MODALS
════════════════════════ */
.adm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.adm-modal-overlay.open { opacity: 1; pointer-events: all; }

.adm-modal-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 28px 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  transform: translateY(12px) scale(0.97);
  transition: transform 0.22s;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
}
.adm-modal-card::-webkit-scrollbar { display: none; }
.adm-modal-overlay.open .adm-modal-card { transform: translateY(0) scale(1); }
.adm-modal-sm { max-width: 340px; }

.adm-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.adm-modal-header h3 { font-size: 18px; font-weight: 900; color: var(--text); }

.adm-modal-close {
  width: 32px; height: 32px;
  border-radius: 50%; border: none;
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.18s;
}
.adm-modal-close svg { width: 16px; height: 16px; stroke: var(--text2); }
.adm-modal-close:hover { background: rgba(255,80,0,0.2); }
.adm-modal-close:hover svg { stroke: var(--text); }

.adm-modal-card form { display: flex; flex-direction: column; gap: 14px; }

.adm-confirm-text  { font-size: 14px; color: var(--text2); line-height: 1.6; margin-bottom: 6px; }
.adm-confirm-email { font-size: 14px; font-weight: 700; color: #ff8866; margin-bottom: 8px; }

.adm-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  justify-content: flex-end;
}

.adm-btn-cancel {
  height: 40px; padding: 0 20px;
  border-radius: 8px; border: 1px solid var(--border);
  background: var(--surface2); color: var(--text2);
  font-size: 13px; font-weight: 700; cursor: pointer;
  transition: background 0.18s;
}
.adm-btn-cancel:hover { background: var(--border); color: var(--text); }

.adm-btn-save {
  height: 40px; padding: 0 20px;
  border-radius: 8px; border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-size: 13px; font-weight: 700; cursor: pointer;
  box-shadow: 0 3px 12px rgba(255,60,0,0.35);
  transition: filter 0.18s;
}
.adm-btn-save:hover { filter: brightness(1.1); }
.adm-btn-save:disabled { opacity: 0.6; cursor: not-allowed; }

.adm-btn-delete {
  height: 40px; padding: 0 20px;
  border-radius: 8px; border: none;
  background: #cc2222; color: #fff;
  font-size: 13px; font-weight: 700; cursor: pointer;
  box-shadow: 0 3px 12px rgba(200,0,0,0.3);
  transition: filter 0.18s;
}
.adm-btn-delete:hover { filter: brightness(1.1); }
.adm-btn-delete:disabled { opacity: 0.6; cursor: not-allowed; }

/* Activity log badges */
.act-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}
.act-signup  { background: rgba(0,180,255,0.15); color: #44ccff; }
.act-login   { background: rgba(0,200,83,0.15);  color: #44ee88; }
.act-blocked { background: rgba(255,50,50,0.15); color: #ff6060; }
.act-updated { background: rgba(255,160,0,0.15); color: #ffbb44; }
.act-deleted { background: rgba(200,0,0,0.15);   color: #ff4444; }

/* ════════════════════════
   SIDEBAR OVERLAY (mobile)
════════════════════════ */
.adm-sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 40;
}
.adm-sidebar-overlay.open { display: block; }

/* ════════════════════════
   MOBILE RESPONSIVE
════════════════════════ */
@media (max-width: 768px) {

  .admin-sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.32,0.72,0,1);
    height: 100vh;
  }
  .admin-sidebar.open { transform: translateX(0); }

  .admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--topbar-h);
    padding: 0 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 30;
    flex-shrink: 0;
  }

  .admin-menu-btn, .admin-topbar-logout {
    width: 40px; height: 40px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
  }
  .admin-menu-btn svg, .admin-topbar-logout svg {
    width: 20px; height: 20px;
    stroke: var(--text2);
  }

  .admin-topbar-title { font-size: 16px; font-weight: 800; color: var(--text); }

  .admin-main {
    margin-top: var(--topbar-h);
    padding: 18px 14px;
  }

  .overview-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 14px 12px; border-radius: 12px; }
  .stat-num  { font-size: 22px; }

  .tab-header { flex-direction: column; align-items: flex-start; }
  .tab-header-actions { width: 100%; }
  .adm-search { min-width: 0; flex: 1; }

  .adm-modal-card { padding: 22px 16px; border-radius: 16px; }
}

@media (max-width: 400px) {
  .overview-stats { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 20px; }
  .tbl-btn  { padding: 0 8px; font-size: 11px; }
}

/* ── KYC Badges ── */
.kyc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}
.kyc-not_submitted { background: rgba(150,150,150,0.12); color: #999; border: 1px solid rgba(150,150,150,0.25); }
.kyc-pending       { background: rgba(255,190,0,0.15);  color: #ffcc44; border: 1px solid rgba(255,190,0,0.3); }
.kyc-verified      { background: rgba(0,200,83,0.15);   color: #44ee88; border: 1px solid rgba(0,200,83,0.3); }
.kyc-rejected      { background: rgba(255,50,50,0.15);  color: #ff6060; border: 1px solid rgba(255,50,50,0.3); }

/* ── Profile detail grid ── */
.profile-detail-section { display: flex; flex-direction: column; gap: 6px; }
.profile-detail-section h4 {
  font-size: 10px; font-weight: 800;
  color: var(--text2); text-transform: uppercase;
  letter-spacing: 0.6px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
}
.profile-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
}
.profile-detail-row { display: flex; flex-direction: column; gap: 1px; }
.profile-detail-lbl { font-size: 10px; color: var(--text2); text-transform: uppercase; letter-spacing: 0.4px; }
.profile-detail-val { font-size: 13px; color: var(--text); font-weight: 600; word-break: break-all; }
.profile-detail-val.empty { color: rgba(240,240,240,0.25); font-weight: 400; font-style: italic; }

/* ════════════════════════
   EDIT PROFILE MODAL — wide tabbed
════════════════════════ */
.adm-modal-wide {
  max-width: 680px;
}

/* Tab bar */
.adm-tabs {
  display: flex;
  gap: 4px;
  background: var(--surface2);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 18px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.adm-tab {
  flex: 1;
  min-width: 70px;
  height: 34px;
  border: none;
  border-radius: 7px;
  background: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--text2);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.adm-tab.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 2px 10px rgba(255,60,0,0.35);
}
.adm-tab:hover:not(.active) { background: rgba(255,255,255,0.06); color: var(--text); }

/* Tab panels */
.adm-tab-panel { display: none; }
.adm-tab-panel.active { display: block; }

/* 2-col form grid */
.adm-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 4px;
}
.adm-full { grid-column: 1 / -1; }

/* Success message */
.adm-success {
  font-size: 12px;
  color: #44ee88;
  min-height: 16px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .adm-modal-wide { max-width: 100%; }
  .adm-form-grid  { grid-template-columns: 1fr; }
  .adm-full       { grid-column: 1; }
  .adm-tabs       { gap: 3px; }
  .adm-tab        { font-size: 11px; height: 32px; min-width: 58px; }
}

/* ════════════════════════
   NOTIFICATIONS
════════════════════════ */
.sidebar-notif-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border-radius: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 0 5px;
  margin-left: auto;
  letter-spacing: 0;
}

.notif-badge-all {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,160,0,0.15);
  color: #ffcc44;
  border: 1px solid rgba(255,160,0,0.3);
}
.notif-badge-user {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(79,172,254,0.15);
  color: #4facfe;
  border: 1px solid rgba(79,172,254,0.3);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.notif-read-cnt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--text2);
  padding: 0 6px;
}

/* image upload zone */
.notif-img-upload {
  border: 1.5px dashed var(--border);
  border-radius: 10px;
  background: var(--surface2);
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  padding: 16px;
  position: relative;
}
.notif-img-upload:hover { border-color: var(--accent); background: rgba(255,85,0,0.06); }

.notif-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text2);
  font-size: 13px;
  pointer-events: none;
}
.notif-img-placeholder svg { width: 32px; height: 32px; stroke: var(--text2); }

/* tbl-btn for notify */
.tbl-btn-notify {
  background: rgba(79,172,254,0.12);
  color: #4facfe;
  border: 1px solid rgba(79,172,254,0.28);
}
.tbl-btn-notify:hover { filter: brightness(1.2); }

/* ════════════════════════
   KYC DOCUMENT REVIEW (admin edit modal)
════════════════════════ */
.kyc-doc-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.kyc-doc-review-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kyc-doc-review-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kyc-doc-img-wrap {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-direction: column;
  padding: 8px;
  gap: 6px;
  position: relative;
}

.kyc-doc-missing {
  font-size: 11px;
  color: rgba(240,240,240,0.25);
  font-style: italic;
  text-align: center;
}

/* KYC docs badge in profiles table */
.kyc-docs-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(79,172,254,0.12);
  color: #4facfe;
  border: 1px solid rgba(79,172,254,0.25);
  white-space: nowrap;
}
.kyc-docs-badge.missing {
  background: rgba(150,150,150,0.08);
  color: rgba(240,240,240,0.3);
  border-color: rgba(150,150,150,0.15);
}

@media (max-width: 768px) {
  .kyc-doc-review-grid { grid-template-columns: 1fr; }
}
