/* ══════════════════════════════════════════════════════
   GX COMMAND CENTER & SUPPORT DESK (APPLE FLUID OBSIDIAN UI)
   ══════════════════════════════════════════════════════ */

:root {
  --bg-dark: #07070a;
  --bg-surface: rgba(14, 14, 20, 0.72);
  --bg-card: rgba(19, 19, 28, 0.65);
  --bg-card-hover: rgba(27, 27, 38, 0.82);
  --bg-input: rgba(10, 10, 15, 0.85);
  
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 255, 255, 0.28);
  --border-glow: rgba(88, 101, 242, 0.35);

  --text-main: #ffffff;
  --text-muted: #9ba1b0;
  --text-sub: #5c6270;

  --accent-white: #ffffff;
  --accent-glow: rgba(255, 255, 255, 0.14);
  --discord-blurple: #5865f2;
  --discord-blurple-hover: #4752c4;
  --green: #22c55e;
  --green-glow: rgba(34, 197, 94, 0.25);
  --red: #ef4444;
  --red-glow: rgba(239, 68, 68, 0.25);
  --amber: #f59e0b;

  --sidebar-w-collapsed: 82px;
  --sidebar-w-expanded: 295px;

  --font-main: -apple-system, BlinkMacSystemFont, 'Cairo', 'Tajawal', 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  /* 🍎 Apple Fluid Physics & Spring Curves */
  --apple-spring: 360ms cubic-bezier(0.32, 0.72, 0, 1);
  --apple-spring-snappy: 220ms cubic-bezier(0.16, 1, 0.3, 1);
  --apple-spring-bounce: 420ms cubic-bezier(0.34, 1.4, 0.64, 1);
  --apple-blur: blur(28px) saturate(190%);
  --apple-card-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-sidebar: width 340ms cubic-bezier(0.32, 0.72, 0, 1), box-shadow 340ms ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  direction: rtl;
  text-align: right;
  letter-spacing: 0;
}

/* 🍎 Optical Typography Tuning */
h1, .display-title, .auth-title, .view-title {
  letter-spacing: -0.025em;
  line-height: 1.15;
  font-weight: 900;
}

h2, h3, .card-title {
  letter-spacing: -0.015em;
  line-height: 1.25;
  font-weight: 800;
}

.stat-value, .gauge-val, .uptime-val, .badge-count, .table-cell-id {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}

/* 🍎 Instant Touch/Click Press Compression (Kill Latency) */
button:active,
.btn:active,
.nav-item:active,
.vfilter-chip:active,
.tab-btn:active,
.btn-auth:active,
.btn-action:active,
.btn-topbar-action:active,
.mod-action-card:active {
  transform: scale(0.97) !important;
  transition: transform 70ms var(--apple-spring) !important;
}

/* ══════════════════════════════════════════════════════
   AUTH OVERLAY
   ══════════════════════════════════════════════════════ */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 8, 0.88);
  backdrop-filter: var(--apple-blur);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  transition: opacity 280ms var(--apple-spring), visibility 280ms;
}

.auth-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: rgba(18, 18, 26, 0.78);
  backdrop-filter: var(--apple-blur);
  border: 1px solid var(--border);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--apple-card-shadow), 0 0 35px var(--accent-glow);
  text-align: center;
  transform: scale(1);
  transition: transform 300ms var(--apple-spring);
}

.auth-overlay.hidden .auth-card {
  transform: scale(0.95);
}

.auth-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.25));
}

.auth-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-main);
}

.auth-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 24px;
}

.input-group {
  text-align: right;
  margin-bottom: 18px;
  position: relative;
}

.input-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

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

.input-wrap input,
.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.input-wrap input:focus,
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.btn-toggle-pw {
  position: absolute;
  left: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-muted);
}

.auth-error {
  min-height: 20px;
  font-size: 12.5px;
  color: var(--red);
  margin-bottom: 12px;
}

.btn-auth {
  width: 100%;
  background: #ffffff;
  color: #050507;
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  font-family: inherit;
}

.btn-auth:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}

.auth-footer {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.auth-badge {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-sub);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 8px;
  border-radius: 4px;
}

/* ══════════════════════════════════════════════════════
   APP LAYOUT & SIDEBAR (INSTAGRAM-STYLE OBSIDIAN GLASSS)
   ══════════════════════════════════════════════════════ */
.app-layout {
  display: flex;
  min-height: 100vh;
}

.insta-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--sidebar-w-collapsed);
  background: rgba(8, 8, 12, 0.96);
  backdrop-filter: blur(28px) saturate(180%);
  border-left: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 12px;
  transition: var(--transition-sidebar);
  overflow-x: hidden;
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.7);
}

.insta-sidebar:hover {
  width: var(--sidebar-w-expanded);
}

.sidebar-top {
  margin-bottom: 24px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
  border-radius: var(--radius-md);
  transition: background 200ms ease;
}

.sidebar-logo {
  width: 44px;
  height: 44px;
  min-width: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.insta-sidebar:hover .sidebar-logo {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 220ms cubic-bezier(0.16, 1, 0.3, 1), transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.insta-sidebar:hover .brand-text {
  opacity: 1;
  transform: translateX(0);
}

.brand-name {
  font-size: 16.5px;
  font-weight: 900;
  letter-spacing: 0.6px;
}

.brand-name span {
  font-weight: 400;
  color: var(--text-muted);
}

.brand-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-sub);
  font-family: var(--font-mono);
  margin-top: 1px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-left: 2px;
  scrollbar-width: none;
}

.sidebar-nav::-webkit-scrollbar {
  display: none;
}


.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
  text-align: right;
  white-space: nowrap;
  position: relative;
  font-family: inherit;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  transform: translateX(-3px);
}

.nav-item:active {
  transform: scale(0.97);
}

.nav-item.active {
  background: #ffffff;
  color: #050507;
  font-weight: 800;
  box-shadow: none;
  transform: translateX(0);
}

.nav-item.active .nav-icon svg {
  stroke: #050507;
}

.nav-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-icon svg {
  transition: stroke 200ms ease, transform 200ms ease;
}

.nav-item:hover .nav-icon svg {
  transform: scale(1.1);
}

.nav-label {
  font-size: 14.5px;
  font-weight: 700;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 220ms cubic-bezier(0.16, 1, 0.3, 1), transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.insta-sidebar:hover .nav-label {
  opacity: 1;
  transform: translateX(0);
}

.nav-badge {
  margin-right: auto;
  background: var(--discord-blurple);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 99px;
  opacity: 0;
  transition: opacity 200ms ease;
}

.insta-sidebar:hover .nav-badge {
  opacity: 1;
}

.nav-badge.text-white {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

.nav-item.active .nav-badge.text-white {
  background: #050507;
  color: #fff;
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  margin-right: auto;
  opacity: 0;
}

.insta-sidebar:hover .status-indicator {
  opacity: 1;
}

.sidebar-bottom {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.btn-lock-sidebar {
  color: var(--red);
}

.btn-lock-sidebar:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
}

/* ══════════════════════════════════════════════════════
   APP LAYOUT & SIDEBAR (INSTAGRAM-STYLE OBSIDIAN GLASS)
   ══════════════════════════════════════════════════════ */
html, body {
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.app-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.content-shell {
  flex: 1;
  margin-right: var(--sidebar-w-collapsed);
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  transition: margin-right 340ms cubic-bezier(0.16, 1, 0.3, 1);
}

.top-bar {
  flex-shrink: 0;
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
  background: rgba(8, 8, 12, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 90;
}

.page-title {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.page-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

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

/* Notification Center */
.notif-wrapper {
  position: relative;
}

.btn-topbar-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.btn-topbar-action:hover {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.notif-counter-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg-dark);
}

.notif-counter-badge.hidden {
  display: none;
}

.notif-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: rgba(12, 12, 18, 0.98);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.92), 0 0 0 1px rgba(255, 255, 255, 0.08);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform-origin: top left;
  transform: scale(0.95) translateY(-8px);
  transition: opacity 220ms var(--apple-spring), transform 220ms var(--apple-spring), visibility 220ms;
}

.notif-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.notif-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

.notif-title-wrap svg {
  color: #818cf8;
}

.btn-text-action {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: var(--transition-fast);
  padding: 4px 8px;
  border-radius: 6px;
}

.btn-text-action:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.notif-list {
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.notif-list::-webkit-scrollbar {
  width: 5px;
}

.notif-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 180ms ease;
  cursor: pointer;
  position: relative;
  text-align: right;
  background: transparent;
}

.notif-item:last-child {
  border-bottom: none;
}

.notif-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.notif-item.unread {
  background: rgba(88, 101, 242, 0.06);
}

.notif-item.unread::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5865f2;
  box-shadow: 0 0 8px #5865f2;
}

.notif-icon-box {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  margin-top: 2px;
}

.notif-icon-box.security {
  background: rgba(88, 101, 242, 0.15);
  border-color: rgba(88, 101, 242, 0.3);
  color: #818cf8;
}

.notif-icon-box.support {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.notif-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
  text-align: right;
}

.notif-item-title {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  text-align: right;
}

.notif-item-desc {
  font-size: 12px;
  color: #9ba1b0;
  line-height: 1.45;
  text-align: right;
  word-break: break-word;
}

.notif-item-time {
  font-size: 10.5px;
  color: #6b7280;
  margin-top: 2px;
  text-align: right;
}

.notif-empty {
  padding: 40px 18px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Verifications Tab Chips (Active / Approved / Hidden) */
.vfilter-chips-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.vfilter-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition-fast);
}

.vfilter-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.15);
}

.vfilter-chip.active {
  background: #ffffff;
  color: #050507;
  border-color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.vchip-badge {
  background: rgba(0, 0, 0, 0.15);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
}

.vfilter-chip.active .vchip-badge {
  background: #050507;
  color: #fff;
}

.live-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 700;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.page-content {
  flex: 1;
  height: calc(100vh - 72px);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  width: 100%;
}

.tab-content {
  display: none;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.tab-content.active {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  animation: fadeIn 220ms cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 24px 28px;
}

#tab-support.active {
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
}

/* Custom Sleek Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.tab-content.active {
  display: block;
  animation: fadeIn 220ms ease;
}

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

.section-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
}

.section-heading {
  font-size: 22px;
  font-weight: 900;
}

.section-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ══════════════════════════════════════════════════════
   LIVE SUPPORT DESK REDESIGN (DISCORD OBSIDIAN THEME)
   ══════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════
   LIVE SUPPORT DESK & DIRECT CHAT (LUXURY DESKTOP CONSOLE)
   ══════════════════════════════════════════════════════ */
.support-desk-container {
  display: grid;
  grid-template-columns: 320px 1fr 340px;
  gap: 0;
  height: 100%;
  width: 100%;
  background: var(--bg-dark);
  overflow: hidden;
}

/* 1. Right Sidebar: Tickets List */
.support-tickets-sidebar {
  background: var(--bg-surface);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.support-sidebar-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.01);
}

.support-sidebar-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.support-sidebar-title-row h3 {
  font-size: 15.5px;
  font-weight: 900;
  color: #fff;
}

.btn-icon-refresh {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-fast);
}

.btn-icon-refresh:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
  color: #fff;
  transform: rotate(90deg);
}

.input-search-tickets {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  color: var(--text-main);
  font-size: 12.5px;
  font-family: inherit;
  width: 100%;
  transition: var(--transition-fast);
}

.input-search-tickets:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 2px var(--accent-glow);
}

.ticket-filter-chips {
  display: flex;
  gap: 6px;
}

.filter-chip {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: inherit;
  text-align: center;
}

.filter-chip:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
}

.filter-chip.active {
  background: #ffffff;
  color: #050507;
  border-color: #ffffff;
  font-weight: 800;
}

.support-tickets-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tickets-empty-placeholder {
  text-align: center;
  color: var(--text-sub);
  font-size: 13px;
  padding: 40px 16px;
  line-height: 1.6;
}

.ticket-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.ticket-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateX(-2px);
}

.ticket-card.active {
  background: #181824;
  border-color: var(--discord-blurple);
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.25);
  border-right: 3px solid var(--discord-blurple);
}

.ticket-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticket-badge-code {
  font-size: 12px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #5865f2;
}

.ticket-time-stamp {
  font-size: 11px;
  color: var(--text-sub);
}

.ticket-user-line {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticket-preview-text {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
}

.ticket-status-pill.open {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.ticket-status-pill.closed {
  background: rgba(239, 68, 68, 0.12);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.unread-dot-badge {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

/* 2. Center: Main Chat Stream */
.support-main-chat {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.chat-topbar {
  padding: 12px 20px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  flex-shrink: 0;
}

.chat-user-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.chat-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.chat-user-meta {
  display: flex;
  flex-direction: column;
}

.chat-username {
  font-size: 15.5px;
  font-weight: 900;
  color: #fff;
}

.chat-ticket-id {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

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

.btn-chat-action {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  border: 1px solid transparent;
}

.btn-chat-action.archive {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber);
  border-color: rgba(245, 158, 11, 0.3);
}

.btn-chat-action.archive:hover {
  background: rgba(245, 158, 11, 0.25);
  transform: translateY(-1px);
}

.btn-chat-action.delete {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red);
  border-color: rgba(239, 68, 68, 0.3);
}

.btn-chat-action.delete:hover {
  background: rgba(239, 68, 68, 0.25);
  transform: translateY(-1px);
}

/* Chat Message Stream */
.chat-stream-area {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-placeholder-state {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-sub);
}

.chat-placeholder-icon {
  margin-bottom: 14px;
  color: var(--text-muted);
  opacity: 0.8;
}

.chat-placeholder-state h4 {
  font-size: 19px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 6px;
}

.chat-placeholder-state p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 380px;
}

.msg-row {
  display: flex;
  gap: 12px;
  max-width: 82%;
}

.msg-row.user {
  align-self: flex-start;
}

.msg-row.agent {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
}

.msg-content-block {
  display: flex;
  flex-direction: column;
}

.msg-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 11.5px;
}

.msg-row.agent .msg-header {
  justify-content: flex-start;
  flex-direction: row-reverse;
}

.msg-author {
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.msg-agent-tag {
  font-size: 10px;
  font-weight: 800;
  background: var(--discord-blurple);
  color: #fff;
  padding: 1px 6px;
  border-radius: 4px;
}

.msg-time {
  color: var(--text-sub);
}

.msg-text {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.msg-row.user .msg-text {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  border-top-right-radius: 2px;
}

.msg-row.agent .msg-text {
  background: linear-gradient(135deg, #5865f2 0%, #3f4cb8 100%);
  color: #ffffff;
  font-weight: 600;
  border-top-left-radius: 2px;
  box-shadow: 0 4px 18px rgba(88, 101, 242, 0.3);
}

.msg-attachment-img {
  margin-top: 8px;
  max-width: 100%;
  max-height: 280px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: block;
  transition: transform 180ms ease;
}

.msg-attachment-img:hover {
  transform: scale(1.02);
}

/* Chat Input Bar */
.chat-input-container {
  padding: 14px 20px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.canned-responses-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 2px;
}

.canned-label {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-sub);
  white-space: nowrap;
}

.btn-canned {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
  font-family: inherit;
}

.btn-canned:hover {
  background: var(--bg-card-hover);
  color: #fff;
  border-color: var(--border-focus);
}

.chat-input-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}

.chat-input-box textarea {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 13.5px;
  font-family: inherit;
  resize: none;
  outline: none;
  min-height: 44px;
}

.chat-input-bottom-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.input-image-url {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  color: #fff;
  font-size: 12.5px;
  font-family: inherit;
}

.input-image-url:focus {
  outline: none;
  border-color: var(--border-focus);
}

.btn-send-reply {
  background: var(--discord-blurple);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  font-family: inherit;
}

.btn-send-reply:hover {
  background: var(--discord-blurple-hover);
  transform: translateY(-1px);
}

/* 3. Left Sidebar: Details Panel */
.support-details-sidebar {
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.sidebar-details-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.sidebar-details-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.details-empty-placeholder {
  text-align: center;
  color: var(--text-sub);
  font-size: 12.5px;
  padding-top: 40px;
}

.detail-user-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.detail-user-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.detail-user-titles h4 {
  font-size: 15px;
  font-weight: 900;
  color: #fff;
}

.detail-user-titles span {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.detail-key-val-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
}

.detail-label {
  color: var(--text-muted);
}

.detail-val {
  color: #fff;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════
   MEMBER AUTOCOMPLETE SEARCH DROPDOWNS
   ══════════════════════════════════════════════════════ */
.search-autocomplete-wrap {
  position: relative;
}

.member-search-input {
  width: 100%;
}

.member-autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  max-height: 220px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  margin-top: 4px;
}

.member-autocomplete-dropdown.open {
  display: block;
}

.member-autocomplete-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: var(--transition-fast);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.member-autocomplete-item:hover {
  background: var(--bg-card-hover);
}

.member-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.member-info-col {
  display: flex;
  flex-direction: column;
}

.member-tag-line {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.member-id-line {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-sub);
}

/* ══════════════════════════════════════════════════════
   MODERATION GRID & CARDS
   ══════════════════════════════════════════════════════ */
.mod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: var(--transition-fast);
}

.panel-card:hover {
  border-color: var(--border-focus);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

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

.panel-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-main);
}

.btn-group-row {
  display: flex;
  gap: 8px;
}

.btn-action {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}

.btn-action:hover {
  border-color: var(--border-focus);
  background: var(--bg-card-hover);
}

.btn-action.primary {
  background: #ffffff;
  color: #050507;
  border: none;
}

.btn-action.primary:hover {
  background: #e4e4e7;
}

.btn-action.danger {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.25);
  color: var(--red);
}

.btn-action.danger:hover {
  background: rgba(239, 68, 68, 0.18);
}

.w-100 { width: 100%; }

/* ══════════════════════════════════════════════════════
   KPIS, GAUGES, AND TABLES
   ══════════════════════════════════════════════════════ */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
}

.kpi-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.kpi-value {
  font-size: 26px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--text-main);
  line-height: 1;
}

.kpi-unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 4px;
}

.kpi-sub {
  font-size: 11.5px;
  color: var(--text-sub);
  margin-top: 6px;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-5col {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

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

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 13.5px;
}

.spec-name {
  color: var(--text-muted);
}

.spec-val {
  font-weight: 700;
}

.badge-white {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-main);
  padding: 3px 8px;
  border-radius: 99px;
}

.status-chip {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.status-chip.inactive {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
  border-color: rgba(239, 68, 68, 0.25);
}

.panel-info {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.gauge-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
}

.gauge-svg {
  width: 170px;
  height: 100px;
}

.gauge-bg {
  stroke: rgba(255, 255, 255, 0.06);
}

.gauge-fill {
  transition: stroke-dashoffset 900ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gauge-center {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gauge-label {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.gauge-sub {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-sub);
}

/* ══════════════════════════════════════════════════════
   DATA TABLES & LOGS (RTL)
   ══════════════════════════════════════════════════════ */
.filter-group {
  display: flex;
  gap: 10px;
}

.input-search, .select-filter {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 8px 14px;
  font-size: 13.5px;
  font-family: inherit;
}

.appeals-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 13.5px;
}

.data-table th {
  background: var(--bg-surface);
  color: var(--text-sub);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.data-table tr:hover td {
  background: var(--bg-card-hover);
}

.badge-status {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
}

.badge-status.pending {
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber);
}

.badge-status.approved {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
}

.badge-status.rejected {
  background: rgba(239, 68, 68, 0.12);
  color: var(--red);
}

.log-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  max-height: 520px;
  overflow-y: auto;
}

.event-stream-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.log-entry {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border-right: 3px solid #ffffff;
  border-left: none;
  display: flex;
  justify-content: space-between;
}

.log-entry.security { border-color: var(--red); }
.log-entry.admin { border-color: var(--green); }
.log-entry.command { border-color: var(--amber); }
.log-entry.ticket { border-color: var(--discord-blurple); }

/* ══════════════════════════════════════════════════════
   MODAL & TOASTS (RTL)
   ══════════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: 100%;
  max-width: 560px;
  background: rgba(18, 18, 26, 0.85);
  backdrop-filter: var(--apple-blur);
  border: 1px solid var(--border);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--apple-card-shadow), 0 0 60px rgba(0, 0, 0, 0.85);
  transform: scale(1);
  transition: transform 300ms var(--apple-spring);
}

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

.modal-title {
  font-size: 18.5px;
  font-weight: 900;
  letter-spacing: -0.015em;
}

.modal-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.statement-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 14px;
  color: #e4e4e7;
  max-height: 220px;
  overflow-y: auto;
  white-space: pre-wrap;
  text-align: right;
  line-height: 1.6;
}

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

.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: rgba(20, 20, 30, 0.88);
  backdrop-filter: var(--apple-blur);
  border: 1px solid var(--border);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  animation: slideToastApple 340ms var(--apple-spring);
  font-family: inherit;
}

@keyframes slideToastApple {
  from { transform: translateX(-40px) scale(0.94); opacity: 0; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}

.mono { font-family: var(--font-mono); }
.text-white { color: #fff; }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-muted { color: var(--text-muted); }

/* 🍎 Apple Accessibility Standards */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .auth-overlay, .modal-card, .toast {
    transform: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .insta-sidebar,
  .auth-card,
  .modal-card,
  .toast,
  .notif-dropdown {
    background: #101017 !important;
    backdrop-filter: none !important;
  }
}
