/* ==========================================================================
   Super Fast SaaS — Admin Panel Stylesheet (White Background Theme)
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-page: #f8fafc;
  --panel: #ffffff;
  --panel-hover: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #cbd5e1;
  --text: #0f172a;
  --text-muted: #64748b;
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-text: #ffffff;
  --emerald: #059669;
  --emerald-bg: #ecfdf5;
  --emerald-border: #a7f3d0;
  --rose: #e11d48;
  --rose-bg: #fff1f2;
  --rose-border: #fecdd3;
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

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

body {
  font-family: var(--font);
  background-color: var(--bg-page);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.admin-topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-icon-wrap svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand-name span {
  color: var(--primary);
}

.admin-pill {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 6px;
  background: #f0f9ff;
  color: var(--primary);
  border: 1px solid #bae6fd;
}

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

.btn-topbar-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
  font-weight: 500;
}

.btn-topbar-link:hover {
  color: var(--text);
  background: var(--panel-hover);
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
}

.btn-signout {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}

.btn-signout:hover {
  color: var(--rose);
  border-color: var(--rose-border);
  background: var(--rose-bg);
}

/* Container */
.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

/* Page Header */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.page-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.btn-add-user {
  background: var(--primary);
  color: var(--primary-text);
  border: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 2px 4px rgba(2, 132, 199, 0.2);
}

.btn-add-user:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 8px rgba(2, 132, 199, 0.3);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.icon-total {
  background: #f1f5f9;
  color: #475569;
}

.icon-allowed {
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid var(--emerald-border);
}

.icon-disallowed {
  background: var(--rose-bg);
  color: var(--rose);
  border: 1px solid var(--rose-border);
}

.icon-pending {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.icon-gate {
  background: #f0f9ff;
  color: var(--primary);
  border: 1px solid #bae6fd;
}

.icon-sub {
  background: #f0fdf4;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-value {
  font-size: 1.45rem;
  font-weight: 800;
  margin-top: 2px;
  color: var(--text);
}

.text-green { color: var(--emerald); }
.text-rose { color: var(--rose); }
.text-cyan { color: var(--primary); }
.text-amber { color: #d97706; }

/* Management Card */
.management-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
}

/* Toolbar */
.table-toolbar {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background: #ffffff;
}

.search-box {
  position: relative;
  width: 320px;
  max-width: 100%;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.search-box input {
  width: 100%;
  height: 38px;
  padding: 0 12px 0 36px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.85rem;
  font-family: inherit;
  transition: all 0.15s;
}

.search-box input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.filter-tabs {
  display: flex;
  gap: 6px;
  background: #f1f5f9;
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.filter-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
}

.filter-tab:hover {
  color: var(--text);
}

.filter-tab.active {
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.users-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.users-table th {
  padding: 12px 20px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
  background: #f8fafc;
}

.users-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  vertical-align: middle;
  background: #ffffff;
}

.users-table tbody tr:hover td {
  background: #f8fafc;
}

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

.table-loading {
  text-align: center;
  padding: 40px !important;
  color: var(--text-muted);
}

/* User Column */
.user-info-col {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid var(--border);
  color: #1e293b;
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-name {
  font-weight: 700;
  color: var(--text);
}

.user-email-text {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: #334155;
}

/* Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.status-pill.allowed {
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid var(--emerald-border);
}

.status-pill.disallowed {
  background: var(--rose-bg);
  color: var(--rose);
  border: 1px solid var(--rose-border);
}

.status-pill.pending {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.role-pill {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid var(--border);
  font-family: var(--mono);
}

.role-pill.admin {
  background: #f0f9ff;
  color: var(--primary);
  border-color: #bae6fd;
}

/* Authorization Action Buttons */
.btn-toggle-auth {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.btn-toggle-auth.allow-action {
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid var(--emerald-border);
}

.btn-toggle-auth.allow-action:hover {
  background: var(--emerald);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
}

.btn-toggle-auth.approve-action {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fcd34d;
}

.btn-toggle-auth.approve-action:hover {
  background: #f59e0b;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

.btn-toggle-auth.disallow-action {
  background: var(--rose-bg);
  color: var(--rose);
  border: 1px solid var(--rose-border);
}

.btn-toggle-auth.disallow-action:hover {
  background: var(--rose);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.25);
}

.btn-delete-user {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px;
  margin-left: 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-delete-user:hover {
  color: var(--rose);
  background: var(--rose-bg);
}

/* Subscription Badges in Table */
.sub-cell-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sub-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  width: fit-content;
}

.sub-pill.active {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.sub-pill.expiring {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.sub-pill.expired {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
}

.sub-pill.banked {
  background: #f8fafc;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.sub-pill.lifetime {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}

.sub-meta-small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.btn-renew-sub {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #86efac;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  margin-right: 6px;
}

.btn-renew-sub:hover {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.25);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

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

.modal-box {
  width: 440px;
  max-width: 92vw;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

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

.modal-header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
}

.modal-close:hover {
  color: var(--text);
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-label);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--text-muted);
  user-select: none;
  margin-top: 8px;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 18px;
  width: 18px;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  margin-right: 9px;
  display: inline-block;
  position: relative;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
}

.checkbox-container input:checked ~ .checkmark:after {
  content: "";
  position: absolute;
  display: block;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

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

.btn-ghost {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.btn-ghost:hover {
  background: var(--panel-hover);
  color: var(--text);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-text);
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.field-error {
  color: var(--rose);
  font-size: 0.78rem;
  margin-top: 6px;
  min-height: 1.2em;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-left-color: var(--emerald);
}

.toast.warn {
  border-left-color: var(--rose);
}

/* ==========================================================================
   Activity Audit Logs & Section Navigation Tabs (White Theme)
   ========================================================================== */

/* Main Section Tabs */
.admin-nav-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 2px;
}

.admin-tab-btn {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 10px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 3px solid transparent;
  margin-bottom: -4px;
  border-radius: 6px 6px 0 0;
  transition: all 0.15s ease;
}

.admin-tab-btn:hover {
  color: var(--text);
  background: #f1f5f9;
}

.admin-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: #ffffff;
}

.tab-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid var(--emerald-border);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Range Pill Selector */
.header-range-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.range-pill-group {
  display: inline-flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.range-pill {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.range-pill:hover {
  color: var(--text);
}

.range-pill.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Session Status Badges & Dot Pulse */
.session-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.session-status-badge.active {
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid var(--emerald-border);
}

.session-status-badge.completed {
  background: #f1f5f9;
  color: var(--text-muted);
  border: 1px solid #cbd5e1;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald);
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(5, 150, 105, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
  }
}

.time-timestamp {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text);
  display: block;
}

.time-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.duration-pill {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--text);
  display: inline-block;
}

.duration-pill.active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.device-chip {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
}

.btn-refresh {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.btn-refresh:hover {
  background: #f8fafc;
  border-color: var(--primary);
  color: var(--primary);
}

.table-footer {
  padding: 12px 20px;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   User Notification Dispatch System Styles (White Theme)
   ========================================================================== */

/* Notification Badges & Pills */
.notif-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.notif-type-pill.info {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.notif-type-pill.warning {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.notif-type-pill.urgent {
  background: var(--rose-bg);
  color: var(--rose);
  border: 1px solid var(--rose-border);
}

.notif-type-pill.success {
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid var(--emerald-border);
}

.target-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid var(--border);
  color: var(--text-label);
}

.target-badge.broadcast {
  background: #fdf4ff;
  border-color: #f5d0fe;
  color: #86198f;
}

.target-badge.targeted {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

/* Notification Preview Box */
.notif-preview-box {
  margin-top: 14px;
  margin-bottom: 6px;
}

.notif-preview-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.notif-card-preview {
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.notif-card-preview.warning {
  border-left-color: #f59e0b;
}

.notif-card-preview.urgent {
  border-left-color: var(--rose);
}

.notif-card-preview.success {
  border-left-color: var(--emerald);
}

.notif-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.preview-type-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: #e0f2fe;
  color: #0369a1;
}

.preview-type-badge.warning { background: #fef3c7; color: #b45309; }
.preview-type-badge.urgent { background: #ffe4e6; color: #e11d48; }
.preview-type-badge.success { background: #d1fae5; color: #059669; }

.preview-time {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.preview-title {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 4px;
}

.preview-body {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}


