/* ═══════════════════════════════════════════════════════════════════════════
   Atlas Live Tracker — Tactical Authentication & Security Layer
   ═══════════════════════════════════════════════════════════════════════════ */

/* Utility */
.hidden { display: none !important; }

/* ─── Full-Screen Auth Overlay ─── */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 35%, #0c1a30 0%, #070d1a 60%, #03050a 100%);
  padding: 20px;
  overflow: hidden;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02);
}

/* ─── Animated Tactical Radar Backdrop ─── */
.auth-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Grid & Range Rings */
.auth-radar-grid {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at center, rgba(6, 182, 212, 0.05) 0, rgba(6, 182, 212, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px, 64px 64px;
  background-position: center center;
}

.auth-radar-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  border: 1px dashed rgba(6, 182, 212, 0.15);
  box-shadow: 
    0 0 0 140px rgba(6, 182, 212, 0.04),
    0 0 0 141px rgba(6, 182, 212, 0.12),
    0 0 0 280px rgba(6, 182, 212, 0.02),
    0 0 0 281px rgba(6, 182, 212, 0.08);
}

.auth-radar-rings::before {
  content: '';
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.auth-radar-rings::after {
  content: '';
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  border: 1px dashed rgba(6, 182, 212, 0.25);
}

/* Rotating Radar Beam */
.auth-radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  margin-top: -450px;
  margin-left: -450px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(6, 182, 212, 0.14) 0deg, rgba(6, 182, 212, 0) 55deg, transparent 55deg);
  animation: radarRotate 10s linear infinite;
}

@keyframes radarRotate {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* HUD Tactical Telemetry Accents */
.auth-hud-decor {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(6, 182, 212, 0.55);
  user-select: none;
  pointer-events: none;
}
.auth-hud-tl { top: 28px; left: 32px; }
.auth-hud-tr { top: 28px; right: 32px; text-align: right; }
.auth-hud-bl { bottom: 28px; left: 32px; }
.auth-hud-br { bottom: 28px; right: 32px; text-align: right; }

/* ─── Authentication Glass Card ─── */
.auth-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: rgba(13, 20, 36, 0.86);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 18px;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(6, 182, 212, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 34px 32px 28px;
  z-index: 10;
  animation: authCardEnter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authCardEnter {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Glowing Top Accent Line */
.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #06b6d4, #3b82f6, transparent);
  border-radius: 2px;
}

/* ─── Card Header ─── */
.auth-header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(59, 130, 246, 0.22));
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.35);
  margin-bottom: 14px;
}

.auth-logo-icon {
  width: 32px;
  height: 32px;
  color: #38bdf8;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.7));
}

.auth-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 20px;
  border: 1px solid rgba(6, 182, 212, 0.4);
  animation: pulseRing 2.4s ease-out infinite;
}

@keyframes pulseRing {
  0%   { transform: scale(0.95); opacity: 0.8; }
  50%  { transform: scale(1.08); opacity: 0.2; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.auth-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #f8fafc 40%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.auth-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: #fbbf24;
  font-weight: 500;
}

.auth-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 6px #f59e0b;
  animation: dotBlink 1.5s ease-in-out infinite;
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ─── Form Elements ─── */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.auth-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #cbd5e1;
}

.auth-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  color: #64748b;
  pointer-events: none;
  transition: color 0.2s ease;
}

.auth-input {
  width: 100%;
  height: 44px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 10px;
  padding: 0 42px 0 42px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.92rem;
  color: #f1f5f9;
  outline: none;
  transition: all 0.2s ease;
}

.auth-input::placeholder {
  color: #475569;
}

.auth-input:focus {
  border-color: #38bdf8;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2), 0 0 16px rgba(6, 182, 212, 0.15);
}

.auth-input:focus + .auth-input-icon,
.auth-input-wrapper:focus-within .auth-input-icon {
  color: #38bdf8;
}

.auth-pw-toggle {
  position: absolute;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.auth-pw-toggle:hover {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
}

.auth-pw-toggle svg {
  width: 17px;
  height: 17px;
}

/* ─── Remember Me ─── */
.auth-remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #94a3b8;
}

.auth-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.auth-checkbox-label input[type="checkbox"] {
  accent-color: #0284c7;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

/* ─── Error / Status Alert Banner ─── */
.auth-alert {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 9px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 0.8rem;
  line-height: 1.4;
  animation: alertShake 0.4s ease;
}

.auth-alert.visible {
  display: flex;
}

.auth-alert.success {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

@keyframes alertShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.auth-alert-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── Submit Button ─── */
.auth-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  height: 46px;
  border-radius: 11px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4), 0 0 15px rgba(6, 182, 212, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 4px;
}

.auth-submit-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.55), 0 0 22px rgba(6, 182, 212, 0.4);
  transform: translateY(-1px);
}

.auth-submit-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

.auth-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.auth-btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spinnerRotate 0.8s linear infinite;
}

.auth-submit-btn.loading .auth-btn-spinner {
  display: block;
}

.auth-submit-btn.loading .auth-btn-icon {
  display: none;
}

@keyframes spinnerRotate {
  to { transform: rotate(360deg); }
}

/* ─── Footer ─── */
.auth-footer {
  margin-top: 22px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: #64748b;
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Topbar User Badge & Sign-Out Button
   ═══════════════════════════════════════════════════════════════════════════ */
.user-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 8px 0 10px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid var(--border-subtle);
  border-radius: 99px;
  backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.user-pill:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.user-avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #38bdf8;
}

.user-avatar svg {
  width: 20px;
  height: 20px;
}

.user-avatar .status-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  border: 1.5px solid #090b10;
  box-shadow: 0 0 4px #10b981;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
}

.user-role-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  letter-spacing: 0.04em;
}

.btn-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  margin-left: 2px;
  transition: all 0.15s ease;
}

.btn-logout:hover {
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
}

.btn-logout svg {
  width: 14px;
  height: 14px;
}

/* ─── Topbar Admin Manage Button ─── */
.btn-admin-manage {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  margin-left: 4px;
  transition: all 0.15s ease;
}

.btn-admin-manage:hover {
  background: rgba(56, 189, 248, 0.28);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.btn-admin-manage svg {
  width: 13px;
  height: 13px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Admin User Management Modal
   ═══════════════════════════════════════════════════════════════════════════ */
.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.admin-modal-backdrop.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.admin-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: rgba(13, 20, 36, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(6, 182, 212, 0.16);
  overflow: hidden;
  animation: adminModalEnter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.admin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: rgba(15, 23, 42, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-modal-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.admin-modal-icon-badge svg {
  width: 20px;
  height: 20px;
}

.admin-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: -0.01em;
  margin: 0;
}

.admin-modal-subtitle {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 2px;
}

.admin-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-modal-close:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.admin-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Card Sections */
.admin-card-section {
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 18px 20px;
  gap: 14px;
}

.admin-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.02em;
}

.admin-section-header svg {
  color: #38bdf8;
}

/* Inline Alerts */
.admin-inline-alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.4;
}

.admin-inline-alert.success {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.admin-inline-alert.error {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* Add User Form */
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (max-width: 600px) {
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
}

.admin-form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.admin-form-field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: #cbd5e1;
}

.admin-form-field input,
.admin-form-field select {
  height: 38px;
  background: rgba(11, 15, 25, 0.85);
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 8px;
  padding: 0 12px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  color: #f1f5f9;
  outline: none;
  transition: all 0.2s ease;
}

.admin-form-field select {
  cursor: pointer;
}

.admin-form-field select option {
  background: #0f172a;
  color: #f1f5f9;
}

.admin-form-field input:focus,
.admin-form-field select:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.admin-pw-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.admin-pw-input-wrap input {
  width: 100%;
  padding-right: 36px;
}

.admin-pw-toggle {
  position: absolute;
  right: 6px;
  background: transparent;
  border: none;
  color: #64748b;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
}

.admin-pw-toggle:hover {
  color: #38bdf8;
}

.admin-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.admin-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
  transition: all 0.15s ease;
}

.admin-btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.5);
  transform: translateY(-1px);
}

.admin-btn-primary:active {
  transform: translateY(1px);
}

.admin-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.admin-btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spinnerRotate 0.8s linear infinite;
}

/* Users Table */
.admin-users-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-users-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.admin-users-table th {
  background: rgba(11, 15, 25, 0.9);
  padding: 10px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-users-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
}

.admin-users-table tr:last-child td {
  border-bottom: none;
}

.admin-users-table tr:hover td {
  background: rgba(56, 189, 248, 0.03);
}

.user-row-ident {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-avatar-sm {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
}

.user-avatar-sm svg {
  width: 14px;
  height: 14px;
}

.role-tag-admin {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
}

.role-tag-user {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
}

.btn-user-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-user-delete:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #ffffff;
}

.btn-user-delete svg {
  width: 13px;
  height: 13px;
}

.user-protected-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: #64748b;
  font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .auth-card {
    padding: 24px 20px 20px;
  }
  .auth-hud-decor {
    display: none;
  }
  .user-role-badge {
    display: none;
  }
  .admin-modal-body {
    padding: 16px;
  }
}
