/* ── ADMIN USER DETAIL PANEL ── */

.admin-detail-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
}

.admin-detail-card-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.admin-user-row {
  cursor: pointer;
  transition: background 0.12s;
}

.admin-user-row:hover {
  background: var(--bg3);
}

.admin-user-row td:first-child {
  text-decoration: underline;
  color: var(--accent);
}

/* ── ADMIN USER DETAIL MODAL FRAME ── */

.admin-modal-frame-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
  animation: fadeIn 0.15s ease-out;
}

.admin-modal-frame-card {
  background: var(--bg2, #181614);
  border: 1px solid var(--border, #36322d);
  border-radius: 14px;
  width: 98vw;
  max-width: 1720px;
  height: 96vh;
  max-height: 97vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  animation: scaleUp 0.15s ease-out;
}

.admin-modal-frame-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border, #36322d);
  background: var(--bg3, #22201d);
  flex-shrink: 0;
}

.admin-modal-frame-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}

.admin-modal-frame-body::-webkit-scrollbar {
  width: 8px;
}
.admin-modal-frame-body::-webkit-scrollbar-thumb {
  background: var(--border, #36322d);
  border-radius: 4px;
}

.admin-modal-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.admin-modal-stats-row .profile-stat {
  padding: 14px 16px;
  min-height: 72px;
  border-radius: 10px;
}

.admin-modal-stats-row .profile-stat-value {
  font-size: 22px;
  font-weight: 700;
}

.admin-modal-stats-row .profile-stat-label {
  font-size: 11px;
  letter-spacing: 0.09em;
  margin-top: 4px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.97); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
