@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600&family=Inter:wght@400;500;600&display=swap');

/* ==========================================================================
   Avero - Ultra Vibrant Kawaii Pastel Pink Stylesheet
   ========================================================================== */

:root {
  --beam-highlight: #EBE5CE;
  --beam-warm-sand: #C7C0A7;
  --strip-light-olive: #ADA892;
  --wall-mid-olive: #918D79;
  --shadow-dark-olive: #4A473A;
  --shadow-deep-charcoal: #222019;
  --bg-corner: #0C0E0C;
  --text-white: #FFFFFF;
  --text-body: #D6D8D0;
  --text-cream-gradient: linear-gradient(180deg, #EBE5CE 0%, #C7C0A7 55%, #918D79 100%);

  --bg-black: var(--shadow-deep-charcoal);
  --bg-olive: #222019;
  --surface: rgba(74, 71, 58, 0.45);
  --glass: rgba(74, 71, 58, 0.45);
  --glass-light: rgba(74, 71, 58, 0.45);
  --glass-dark: rgba(74, 71, 58, 0.55);
  --cream: var(--beam-warm-sand);
  --cream-light: var(--beam-highlight);
  --beige: var(--strip-light-olive);
  --olive-gray: var(--wall-mid-olive);
  --text-primary: var(--text-white);
  --text-cream: var(--beam-warm-sand);
  --text-cream-light: var(--beam-highlight);
  --text-muted: var(--strip-light-olive);
  --text-secondary: var(--strip-light-olive);

  --ez: cubic-bezier(.2, .7, .2, 1);
  --ac: var(--cream);
  --primary-pink: var(--cream);
  --primary-pink-hover: var(--cream-light);
  --primary-pink-dark: #ADA892;
  --accent-pink: var(--cream);
  --highlight-pink: var(--cream-light);
  --blush-light: var(--cream-light);
  --pink-neon: var(--cream);
  --primary-pink-glow: rgba(235,229,206, 0.18);
  --primary-pink-glow-strong: rgba(235,229,206, 0.30);
  --primary-pink-glow-soft: rgba(235,229,206, 0.08);
  --bg-dark: var(--bg-black);
  --bg-card: var(--surface);
  --bg-card-hover: var(--surface);
  --border-card: rgba(235,229,206, 0.25);
  --border-pink: rgba(235,229,206, 0.25);
  --border-pink-light: rgba(235,229,206, 0.40);
  --border-pink-subtle: rgba(235,229,206, 0.12);

  /* Radii */
  --radius-kawaii-sm: 12px;
  --radius-kawaii-md: 18px;
  --radius-kawaii-lg: 24px;
  --radius-pill: 9999px;
}

/* Global Reset & Typography */
* {
  font-family: 'IBM Plex Sans Arabic', 'Inter', 'Tajawal', sans-serif;
  box-sizing: border-box;
  font-feature-settings: "tnum" 1, "lnum" 1 !important;
  font-variant-numeric: tabular-nums lining-nums !important;
}

body, html, input, textarea, select, button, table, td, th, span, div, p, h1, h2, h3, h4, h5, h6 {
  font-feature-settings: "tnum" 1, "lnum" 1 !important;
  font-variant-numeric: tabular-nums lining-nums !important;
}

html, body {
  background: var(--shadow-deep-charcoal) url('/bg.webp') center / cover no-repeat fixed !important;
  min-height: 100%;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #FFFFFF;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Smooth modal pop-in animations */
.modal-content-card {
  animation: modal-card-in 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}

@keyframes modal-card-in {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

body, body.bg-\[\#4A473A\], body.bg-\[\#0D0D0B\] {
  position: relative;
  z-index: 0;
  background: var(--shadow-deep-charcoal) url('/bg.webp') center / cover no-repeat fixed !important;
  min-height: 100%;
  color: #D6D8D0;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: block !important;
  background: radial-gradient(ellipse at center, transparent 42%, var(--bg-corner) 100%);
  border-radius: 0;
  width: auto;
  height: auto;
  transform: none;
  box-shadow: none;
  opacity: 1;
}
body::after {
  content: none !important;
  display: none !important;
}
main, footer, .veil, #veil, #root, #app,
section:not([class*="bg-"]) {
  background-color: transparent !important;
  background-image: none !important;
}
@media (max-width: 768px) {
  html, body {
    background-position: 70% center !important;
  }
}

/* Eliminate expensive Gaussian blur divs across all pages for smooth 60-120 FPS */
.fixed.blur-\[140px\],
.fixed.blur-\[150px\],
.fixed.blur-\[160px\],
.fixed.blur-\[130px\] {
... 479 lines not shown ...



/* Ultra-Smooth High Performance Glassmorphic Cards (Zero GPU Lag) */
.riyal-icon {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  vertical-align: -2px;
  display: inline-block;
  object-fit: contain;
}

#stat-revenue,
#stat-pending,
#stat-subs,
#stat-tokens {
  overflow: hidden;
}

.glass-card {
  background: linear-gradient(160deg, var(--glass-light) 0%, var(--glass-dark) 100%);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(145,141,121,0.30);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 20px 50px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  background: linear-gradient(160deg, rgba(170, 166, 146, 0.38) 0%, rgba(74,71,58,0.45) 100%);
  border-color: rgba(145,141,121,0.30);
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px var(--primary-pink-glow, rgba(235,229,206, 0.18)), 0 4px 12px rgba(13, 13, 11, 0.6);
}

.glass-card-subtle {
  background: rgba(145,141,121,0.30);
  border: 1px dashed var(--border-pink, rgba(235,229,206, 0.2));
  border-radius: var(--radius-kawaii-sm);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.glass-card-subtle:hover {
  background: var(--primary-pink-glow-soft, rgba(235,229,206, 0.05));
  border-color: var(--primary-pink);
}

.fixed.blur-\[140px\],
.fixed.blur-\[150px\],
.fixed.blur-\[160px\],
.fixed.blur-\[130px\] {
  display: none !important;
}

.btn-pink {
  background: linear-gradient(180deg, #EBE5CE 0%, #C7C0A7 60%, #ADA892 100%);
  color: #0D0D0B;
  font-weight: 800;
  border-radius: 9999px;
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.12s ease, filter 0.12s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 8px 24px rgba(235,229,206, 0.25);
  border: 1px solid rgba(145,141,121,0.30);
  touch-action: manipulation;
  cursor: pointer;
}
.btn-pink:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 12px 32px rgba(235,229,206, 0.38);
}
.btn-outline-pink {
  background: var(--primary-pink-glow-soft, rgba(235,229,206, 0.08));
  border: 1px solid var(--border-pink, rgba(235,229,206, 0.3));
  color: var(--primary-pink, #C7C0A7);
  font-weight: 700;
  border-radius: 0.85rem;
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.12s ease;
  touch-action: manipulation;
  cursor: pointer;
}
.btn-outline-pink:hover {
  background: var(--primary-pink-glow, rgba(235,229,206, 0.18));
  border-color: var(--primary-pink, #C7C0A7);
  color: #FFFFFF;
  transform: translateY(-2px);
}
.badge-pink {
  background: var(--primary-pink-glow-soft, rgba(235,229,206, 0.12));
  color: var(--primary-pink, #C7C0A7);
  border: 1px solid var(--border-pink, rgba(235,229,206, 0.3));
  font-size: 0.75rem;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tab-btn.active {
  border-color: var(--primary-pink, #C7C0A7) !important;
  color: var(--primary-pink, #C7C0A7) !important;
}

.adm-tab.active {
  border-color: var(--primary-pink, #C7C0A7) !important;
  color: var(--primary-pink, #C7C0A7) !important;
}

.no-scrollbar,
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar,
.scrollbar-none::-webkit-scrollbar {
  display: none;
}

.touch-scroll {
  -webkit-overflow-scrolling: touch;
}

.discord-preview-card {
  background: rgba(74,71,58,0.45);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-pink, rgba(235,229,206, 0.25));
}
.discord-preview-banner {
  position: relative !important;
  height: 135px !important;
  min-height: 135px !important;
  width: 100% !important;
  background: var(--discord-banner-gradient, linear-gradient(135deg, #C7C0A7 0%, rgba(74,71,58,0.45) 100%));
  overflow: hidden !important;
  transition: background 0.3s ease;
}
.discord-preview-banner.banner-empty {
  background: var(--discord-banner-gradient, linear-gradient(135deg, #C7C0A7 0%, rgba(74,71,58,0.45) 100%));
}
.discord-preview-banner.banner-empty::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(145,141,121,0.30), transparent 60%);
  pointer-events: none;
}
.banner-ambient-layer,
.banner-fg-layer {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
}
.banner-ambient-layer {
  background-size: cover;
  opacity: 0.25;
  transform: scale(1.05);
  z-index: 0;
}
.banner-fg-layer {
  background-size: contain;
  z-index: 1;
}
.discord-preview-banner.banner-cover .banner-fg-layer {
  background-size: cover;
}
.discord-preview-banner.banner-cover .banner-ambient-layer {
  opacity: 0;
}
.discord-preview-avatar-wrapper {
  margin-top: -40px;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}
.discord-preview-avatar {
  width: 80px !important;
  height: 80px !important;
  max-width: 80px !important;
  max-height: 80px !important;
  min-width: 80px !important;
  min-height: 80px !important;
  object-fit: cover !important;
  display: block !important;
  background: rgba(74,71,58,0.45) !important;
  border-radius: 50% !important;
  border: 4px solid rgba(74,71,58,0.45) !important;
}

[id$="-modal"].fixed {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
[id$="-modal"].fixed.is-open {
  display: flex !important;
}
[id$="-modal"].fixed .glass-card,
.admin-modal-panel {
  contain: none !important;
  transform: none !important;
  will-change: auto !important;
  animation: none !important;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(74,71,58,0.45);
}
::-webkit-scrollbar-thumb {
  background: rgba(235,229,206, 0.35);
  border-radius: 4px;
}

/* Seamless Dual-Row Infinite Reviews Marquee */
.reviews-marquee-container {
  display: flex;
  width: 100%;
  overflow: hidden;
  gap: 1.25rem;
  direction: ltr !important;
  position: relative;
  user-select: none;
  contain: layout paint;
}

/* Zero-cost CSS Gradient Fade Edges (Replaces heavy mask-image) */
.reviews-marquee-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50px;
  background: linear-gradient(to right, rgba(74,71,58,0.45) 20%, transparent 100%);
  z-index: 10;
  pointer-events: none;
}

.reviews-marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 50px;
  background: linear-gradient(to left, rgba(74,71,58,0.45) 20%, transparent 100%);
  z-index: 10;
  pointer-events: none;
}

.reviews-marquee-group {
  display: flex;
  gap: 1.25rem;
  flex-shrink: 0;
  width: max-content;
  direction: ltr !important;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  animation: scroll-marquee-left 45s linear infinite;
}

.reviews-marquee-container:hover .reviews-marquee-group {
  animation-play-state: paused;
}

.reviews-marquee-group.marquee-left {
  animation: scroll-marquee-left 45s linear infinite;
}

.reviews-marquee-group.marquee-right {
  animation: scroll-marquee-right 45s linear infinite;
}

@keyframes scroll-marquee-left {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(calc(-100% - 1.25rem), 0, 0);
  }
}

@keyframes scroll-marquee-right {
  0% {
    transform: translate3d(calc(-100% - 1.25rem), 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.review-ticker-card {
  direction: rtl;
  text-align: right;
  width: 320px;
  min-width: 320px;
  max-width: 320px;
  flex-shrink: 0;
  contain: content;
  background: rgba(74,71,58,0.45) !important;
  border: 1px solid var(--border-pink, rgba(235,229,206, 0.18)) !important;
  border-radius: 1rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.review-ticker-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-pink-light, rgba(235,229,206, 0.5)) !important;
}



@media screen and (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    touch-action: pan-y pinch-zoom;
  }

  /* Prevent auto-zoom and displacement on input focus in iOS Safari and mobile browsers */
  input[type="text"],
  input[type="number"],
  input[type="password"],
  input[type="email"],
  textarea,
  select {
... 4 lines not shown ...


#sticky-bot-save-bar,
button[onclick*="saveBotSettings"],
#save-settings-btn,
#btn-save-fleet-bot {
  display: none !important;
}

.help-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(235,229,206, 0.18);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  cursor: help;
  position: relative;
  margin-right: 6px;
  border: none;
  padding: 0;
}
.help-tip:hover::after,
.help-tip:focus::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  width: max-content;
  max-width: 260px;
  background: rgba(74,71,58,0.45);
  color: #FFFFFF;
  border: 1px solid rgba(235,229,206, 0.45);
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.55;
  z-index: 40;
  box-shadow: 0 10px 30px rgba(13, 13, 11, 0.45);
  white-space: normal;
  text-align: right;
}

#tab-content-bot-controls:not(.hidden) {
  display: flex !important;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 1rem;
  max-width: 92rem;
  margin-inline: auto;
}
#tab-content-bot-controls > .glass-card {
  flex: 1;
  min-width: 0;
  max-width: none;
  margin: 0;
}
#bot-control-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 11.5rem;
  flex-shrink: 0;
  position: sticky;
  top: 5.5rem;
  align-self: flex-start;
  z-index: 40;
  background: rgba(74,71,58,0.45);
  border: 1px solid rgba(235,229,206, 0.35);
  border-radius: 1rem;
  padding: 0.55rem;
  max-height: calc(100vh - 6.5rem);
  overflow-y: auto;
  box-shadow: 0 8px 28px rgba(13, 13, 11, 0.35);
}
#bot-control-nav .bot-page-nav-pill {
  width: 100%;
  justify-content: flex-start;
  white-space: normal;
  text-align: right;
}
#bot-control-nav .bot-page-nav-pill span {
  flex: 1;
  line-height: 1.3;
}
#global-bot-strip,
#fleet-pills-container {
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: thin;
}
@media (max-width: 768px) {
  #tab-content-bot-controls:not(.hidden) {
    flex-direction: column;
  }
  #bot-control-nav {
    width: 100%;
    position: sticky;
    top: 4.25rem;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
  }
  #bot-control-nav .bot-page-nav-pill {
    width: auto;
    flex-shrink: 0;
    white-space: nowrap;
  }
}


/* ======================================================== */
/* 🤖 Avero SMART AI ASSISTANT WIDGET (المساعد الذكي)    */
/* ======================================================== */
.sa-root {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  direction: rtl;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.sa-scrim {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 11, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
  z-index: 9998;
}

.sa-root[data-open="true"] .sa-scrim {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .sa-scrim {
    display: none !important;
  }
}

.sa-panel {
  position: fixed;
  bottom: 96px;
  left: 24px;
  width: 390px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 120px);
  background: rgba(74,71,58,0.45);
  border: 1px solid rgba(235,229,206, 0.2);
  border-radius: 28px;
  box-shadow: 0 30px 80px -15px rgba(13, 13, 11, 0.9), 0 0 0 1px rgba(145,141,121,0.30);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  z-index: 9999;
}

.sa-root[data-open="true"] .sa-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.sa-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(145,141,121,0.30);
  background: rgba(74,71,58,0.45);
  flex-shrink: 0;
}

.sa-head-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sa-tile {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(235,229,206, 0.15);
  border: 1px solid rgba(235,229,206, 0.3);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(235,229,206, 0.1);
}

.sa-tile svg {
  width: 22px;
  height: 22px;
}

.sa-titles {
  text-align: right;
}

.sa-title {
  color: #FFFFFF;
  font-weight: 800;
  font-size: 15px;
  margin: 0;
  line-height: 1.2;
}

.sa-sub {
  color: #ADA892;
  font-size: 11px;
  margin-top: 3px;
  display: block;
}

.sa-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sa-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(145,141,121,0.30);
  background: rgba(145,141,121,0.30);
  color: #ADA892;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
}

.sa-icon svg {
  width: 16px;
  height: 16px;
}

.sa-icon:hover {
  background: rgba(145,141,121,0.30);
  color: #FFFFFF;
  border-color: rgba(145,141,121,0.30);
}

.sa-icon.sa-reset:hover {
  color: #FFFFFF;
  border-color: rgba(235,229,206, 0.4);
}

.sa-log {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: right;
  scrollbar-width: thin;
  scrollbar-color: rgba(235,229,206, 0.2) transparent;
}

.sa-log::-webkit-scrollbar {
  width: 4px;
}

.sa-log::-webkit-scrollbar-thumb {
  background: rgba(235,229,206, 0.2);
  border-radius: 4px;
}

.sa-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: saFadeIn 0.25s ease-out both;
}

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

.sa-msg.sa-user {
  flex-direction: row-reverse;
}

.sa-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(74,71,58,0.45);
  border: 1px solid rgba(235,229,206, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.sa-avatar svg {
  width: 16px;
  height: 16px;
}

.sa-bubble {
  background: rgba(74,71,58,0.45);
  border: 1px solid rgba(145,141,121,0.30);
  border-radius: 20px 20px 4px 20px;
  padding: 13px 16px;
  color: #D6D8D0;
  font-size: 13px;
  line-height: 1.6;
  max-width: 85%;
  word-break: break-word;
  box-shadow: 0 4px 15px rgba(13, 13, 11, 0.2);
}

.sa-bubble.user {
  background: linear-gradient(180deg, #EBE5CE 0%, #C7C0A7 60%, #ADA892 100%);
  border: none;
  color: #0D0D0B;
  font-weight: 700;
  border-radius: 20px 20px 20px 4px;
}

.sa-bubble a {
  color: #FFFFFF;
  text-decoration: underline;
  font-weight: 700;
}

.sa-bubble.user a {
  color: #0D0D0B;
}

.sa-bubble strong {
  color: #FFFFFF;
}

.sa-bubble.user strong {
  color: #0D0D0B;
}

.sa-bullet {
  color: #FFFFFF;
  font-weight: 900;
}

.sa-typing .sa-dots {
  display: inline-flex;
  gap: 4px;
  padding: 4px 2px;
}

.sa-typing .sa-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C7C0A7;
  animation: saBounce 1.2s infinite ease-in-out;
}

.sa-typing .sa-dots i:nth-child(2) { animation-delay: 0.2s; }
.sa-typing .sa-dots i:nth-child(3) { animation-delay: 0.4s; }

@keyframes saBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-5px); opacity: 1; }
}

.sa-chips {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 4px;
  padding-right: 40px;
}

.sa-chip {
  border: 1px solid rgba(145,141,121,0.30);
  background: rgba(145,141,121,0.30);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #D6D8D0;
  cursor: pointer;
  transition: transform 0.2s ease-out, background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out;
  text-align: right;
  width: fit-content;
}

.sa-chip:hover {
  background: rgba(235,229,206, 0.14);
  border-color: rgba(235,229,206, 0.4);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.sa-form {
  padding: 12px 18px 14px;
  border-top: 1px solid rgba(145,141,121,0.30);
  background: rgba(74,71,58,0.45);
  flex-shrink: 0;
}

.sa-pill {
  border: 1px solid rgba(145,141,121,0.30);
  border-radius: 999px;
  background: rgba(74,71,58,0.45);
  display: flex;
  align-items: center;
  padding: 4px 6px 4px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sa-pill:focus-within {
  border-color: #FFFFFF;
  box-shadow: 0 0 0 2px rgba(235,229,206, 0.15);
}

.sa-input {
  border: none;
  background: transparent;
  color: #FFFFFF;
  font-size: 13px;
  font-family: inherit;
  resize: none;
  outline: none;
  width: 100%;
  max-height: 100px;
  padding: 7px 4px;
  line-height: 1.4;
  direction: rtl;
  text-align: right;
}

.sa-input::placeholder {
  color: #ADA892;
}

.sa-send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #C7C0A7;
  color: #0D0D0B;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease-out, background-color 0.2s ease-out, opacity 0.2s ease-out;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(235,229,206, 0.3);
}

.sa-send:hover:not(:disabled) {
  transform: scale(1.06);
  background: #C7C0A7;
}

.sa-send:disabled {
  opacity: 0.35;
  background: rgba(145,141,121,0.30);
  color: #ADA892;
  cursor: not-allowed;
  box-shadow: none;
}

.sa-send svg {
  width: 16px;
  height: 16px;
}

.sa-note {
  font-size: 10.5px;
  color: #ADA892;
  text-align: center;
  margin-top: 8px;
  line-height: 1.3;
}

.sa-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #C7C0A7;
  border: none;
  color: #0D0D0B;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 35px rgba(235,229,206, 0.4), 0 0 0 1px rgba(145,141,121,0.30);
  cursor: pointer;
  pointer-events: auto;
  z-index: 10001;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s, box-shadow 0.25s;
}

.sa-fab:hover {
  transform: scale(1.08);
  background: #C7C0A7;
  box-shadow: 0 16px 45px rgba(235,229,206, 0.5);
}

.sa-fab-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, opacity 0.2s;
}

.sa-fab-ico svg {
  width: 26px;
  height: 26px;
}

.sa-fab-ico.is-close {
  display: none;
}

.sa-root[data-open="true"] .sa-fab-ico.is-open {
  display: none;
}

.sa-root[data-open="true"] .sa-fab-ico.is-close {
  display: flex;
}

@media (max-width: 480px) {
  .sa-panel {
    bottom: 84px;
    left: 12px;
    width: calc(100vw - 24px);
    height: calc(100vh - 100px);
    border-radius: 24px;
  }
  .sa-fab {
    bottom: 16px;
    left: 16px;
    width: 52px;
    height: 52px;
  }
}

/* ======================================================== */
/* USER PROFILE DROPDOWN (Exact match to Image 1)           */
/* ======================================================== */
.sant-pm-root {
  position: relative;
  direction: rtl;
}
.sant-pm-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 10px 0 14px;
  border-radius: 9999px;
  border: 1px solid rgba(235,229,206, 0.25);
  background: rgba(74,71,58,0.45);
  color: #FFFFFF;
  font: 700 13px/1 'IBM Plex Sans Arabic', -apple-system, sans-serif;
  cursor: pointer;
  transition: background-color 0.2s ease-out, border-color 0.2s ease-out, transform 0.2s ease-out;
}
.sant-pm-btn:hover {
  background: rgba(74,71,58,0.45);
  border-color: #FFFFFF;
}
.sant-pm-root[data-open="true"] .sant-pm-btn {
  background: rgba(74,71,58,0.45);
  border-color: #FFFFFF;
  box-shadow: 0 0 20px rgba(235,229,206, 0.35);
}
.sant-pm-btn img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(235,229,206, 0.5);
}
.sant-pm-btn svg.chevron-icon {
  width: 14px;
  height: 14px;
  color: #ADA892;
  transition: transform 0.3s ease;
}
.sant-pm-root[data-open="true"] .sant-pm-btn svg.chevron-icon {
  transform: rotate(180deg);
}
.sant-pm-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 280px;
  max-width: calc(100vw - 24px);
  padding: 10px;
  border-radius: 20px;
  border: 1px solid rgba(235,229,206, 0.2);
  background: rgba(74,71,58,0.45);
  box-shadow: 0 30px 70px -15px rgba(13, 13, 11, 0.95), 0 0 30px rgba(235,229,206, 0.08);
  text-align: right;
  direction: rtl;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.96);
  transform-origin: 15% 0;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.25s;
  z-index: 999;
}
.sant-pm-root[data-open="true"] .sant-pm-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
}
.sant-pm-menu .head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 10px;
}
.sant-pm-menu .head img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(235,229,206, 0.4);
}
.sant-pm-menu .head .who {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.sant-pm-menu .head strong {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sant-pm-menu .head small {
  color: #ADA892;
  font-size: 0.8rem;
  font-family: monospace;
}
.sant-pm-sep {
  height: 1px;
  margin: 6px 0;
  background: rgba(145,141,121,0.30);
}
.sant-pm-menu a.sant-pm-item,
.sant-pm-menu button.sant-pm-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
}
.sant-pm-menu a.sant-pm-item svg,
.sant-pm-menu button.sant-pm-item svg,
.sant-pm-item svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex-shrink: 0 !important;
  color: #ADA892;
  transition: color 0.18s ease;
}
.sant-pm-menu a.sant-pm-item:hover,
.sant-pm-menu button.sant-pm-item:hover {
  background: rgba(235,229,206, 0.12);
  color: #FFFFFF;
}
.sant-pm-menu a.sant-pm-item:hover svg,
.sant-pm-menu button.sant-pm-item:hover svg {
  color: #FFFFFF;
}
.sant-pm-menu a.sant-pm-item.is-logout:hover {
  background: rgba(168, 162, 138, 0.12);
  color: #FFFFFF;
}
.sant-pm-menu a.sant-pm-item.is-logout:hover svg {
  color: #FFFFFF;
}

/* ======================================================== */
/* Avero - ULTRA PERFORMANCE & ZERO LAG ENGINE          */
/* ======================================================== */

/* Force all transition-all to strictly animate transform & opacity */
.transition-all,
[class*="transition-all"] {
  transition-property: transform, opacity !important;
}

/* ==========================================================================
   Avero - Unified Animation System (Strict Standard)
   - Rules:
     1. transform and opacity ONLY.
     2. Smooth background-color, border-color, and color.
     3. Strict ban on transition: all, filter, backdrop-filter, blur (except navbar).
     4. Durations: 0.2s for hover, 0.3s for entries, 0.5s for staggered lists.
     5. Easing: ease-out, large motions cubic-bezier(.22, 1, .36, 1).
     6. prefers-reduced-motion disables all animations.
     7. will-change ONLY on cart drawer and modal during motion.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .scroll-marquee,
  .marquee-track {
    animation: none !important;
  }
}

/* Eliminate backdrop-filter blur across all overlays, modals, and scrims (Navbar only retains blur) */
.modal-backdrop,
#cart-drawer-backdrop,
div[id$="-modal"],
div[id*="-backdrop"],
.sant-modal,
.sant-dialog,
.sant-drawer-scrim,
.sa-scrim,
#cart-drawer-overlay,
.modal-overlay {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background-color: rgba(13, 13, 11, 0.6) !important;
}

/* Eliminate blur from cards and panels */
.bot-card,
.product-card,
.feature-card,
.sant-card,
.server-card,
.renewal-card {
  background: linear-gradient(160deg, var(--glass-light) 0%, var(--glass-dark) 100%) !important;
  backdrop-filter: blur(16px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(120%) !important;
  border: 1px solid rgba(145,141,121,0.30) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 20px 50px rgba(0, 0, 0, 0.45);
  transition: translate 0.2s var(--ez, cubic-bezier(.2, .7, .2, 1)), border-color 0.2s ease-out, background-color 0.2s ease-out, filter 0.15s ease;
}

/* Disable any expensive Gaussian blur divs and replace with static gradient */
.fixed.blur-\[140px\],
.fixed.blur-\[150px\],
.fixed.blur-\[160px\],
.fixed.blur-\[130px\],
.blur-3xl,
.blur-2xl {
  filter: none !important;
  background: radial-gradient(circle, rgba(235,229,206, 0.08) 0%, transparent 70%) !important;
}

/* 1. Page Entry Animation (Rule 1) */
.page-entry-root,
.page-entered {
  animation: unifiedPageEnter 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes unifiedPageEnter {
  0% {
    opacity: 0.55;
    transform: translateY(7px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 2. Top Navigation Progress Bar (Rule 2) */
.nav-loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #C7C0A7, #C7C0A7, #C7C0A7);
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease-out;
}

html.nav-loading .nav-loading-bar {
  opacity: 1;
  width: 75%;
}

/* 3. Staggered Lists & Cards (Rule 3) */
.stagger-item {
  animation: unifiedStaggerIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 45ms + 70ms);
}

@keyframes unifiedStaggerIn {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 4. Buttons (Rule 4) */
/* Hover fill from right + font color change + primary button lightens + active scale(0.97) */
.btn-primary-kawaii,
.btn-pink,
button.btn-primary {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(to left, #C7C0A7 0%, #C7C0A7 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transition: transform 0.2s ease-out, background-color 0.2s ease-out, color 0.2s ease-out;
}

.btn-primary-kawaii:hover,
.btn-pink:hover,
button.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-primary-kawaii:active,
.btn-pink:active,
.btn-dark:active,
.btn-gold:active,
button:active {
  transform: scale(0.97) !important;
}

/* 5. Cards Hover (Rule 5) */
/* Hover strictly translateY(-3px) with border-color transition */
.glass-card:hover,
.bot-card:hover,
.product-card:hover,
.feature-card:hover,
.sant-card:hover,
.server-card:hover,
.renewal-card:hover {
  translate: 0 -3px;
  border-color: rgba(235,229,206, 0.45) !important;
  box-shadow: none !important;
}

/* 6. Cart Drawer (Rule 6) */
/* translateX + overlay opacity (no blur), counter pulse (1 -> 1.25 -> 1) */
.cart-pulse-anim {
  animation: cartBadgePulse 0.25s ease-out;
}

@keyframes cartBadgePulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}

/* 7. Subscription Duration Modal (Rule 7) */
/* Opacity 0 -> 1 & scale(0.96) -> scale(1) */
.sub-modal-content {
  animation: subModalIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes subModalIn {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* 8. Checkout & Payment Animations (Rule 8) */
.payment-form-pane {
  animation: formCrossfade 0.25s ease-out both;
}

@keyframes formCrossfade {
  0% {
    opacity: 0;
    transform: translateY(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropzone-active {
  border-color: #FFFFFF !important;
  background-color: rgba(235,229,206, 0.08) !important;
}

.receipt-file-card {
  animation: fileCardIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fileCardIn {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.coupon-msg-anim {
  animation: couponMsgIn 0.25s ease-out both;
}

@keyframes couponMsgIn {
  0% {
    opacity: 0;
    transform: translateY(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.total-pulse-anim {
  animation: totalPulse 0.25s ease-out;
}

@keyframes totalPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}

/* 9. Dashboard Switch Knobs & Progress (Rule 9) */
.dashboard-toggle-knob {
  transition: transform 0.2s ease-out, background-color 0.2s ease-out;
}

.dashboard-progress-fill {
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 10. User Menu Dropdown (Rule 10) */
/* Drops with opacity and translateY(-6px) */
.user-dropdown-menu-anim {
  animation: userMenuDrop 0.2s ease-out both;
}

@keyframes userMenuDrop {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 11. Long Sections IntersectionObserver (Rule 11) */
.anim-section {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[class*="bg-[#4A473A]"],
[class*="bg-[#4A473A]"],
[class*="bg-[#222019]"],
nav,
.board,
.row,
.ic,
.ticket,
.pc,
.glass-card,
.bot-card,
.product-card,
.feature-card,
.sant-card,
.server-card,
.renewal-card,
.sant-pm-menu,
.user-dropdown,
.modal-content-card,
.admin-modal-panel,
.system-control-sidebar,
.system-server-profile {
  background: rgba(74,71,58,0.45) !important;
  backdrop-filter: blur(16px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(120%) !important;
  border-color: rgba(145,141,121,0.30) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 20px 50px rgba(0, 0, 0, 0.45);
}
header[class*="max-w-6xl"],
header[class*="max-w-7xl"] {
  background: transparent !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}
[class*="rounded-full"][class*="bg-[#4A473A]"],
[class*="rounded-full"][class*="bg-[#4A473A]"] {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

[class*="bg-[#C7C0A7]/15"],
[class*="bg-[#C7C0A7]/5"],
[class*="bg-[#C7C0A7]/10"],
[class*="bg-[#C7C0A7]/20"] {
  background: rgba(74,71,58,0.45) !important;
  border-color: rgba(145,141,121,0.30) !important;
  color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

[class*="from-[#4A473A]"],
[class*="from-[#4A473A]"],
[class*="from-[#0D0D0B]"],
[class*="via-[#4A473A]"],
[class*="to-[#4A473A]"],
[class*="to-[#4A473A]"] {
  background-image: rgba(74,71,58,0.45) !important;
  backdrop-filter: blur(16px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(120%) !important;
}
[class*="border-[#918D79]"],
[class*="border-[#4A473A]"],
[class*="border-[#4A473A]"],
[class*="border-[#918D79]"] {
  border-color: rgba(145,141,121,0.30) !important;
}

.btn-pink,
a[class*="bg-[#C7C0A7]"]:not([class*="bg-[#C7C0A7]/"]),
button[class*="bg-[#C7C0A7]"]:not([class*="bg-[#C7C0A7]/"]) {
  background: linear-gradient(180deg, #EBE5CE 0%, #C7C0A7 60%, #ADA892 100%) !important;
  color: #11120F !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 8px 24px rgba(235,229,206, 0.25);
}
.btn-pink:hover,
a[class*="bg-[#C7C0A7]"]:not([class*="bg-[#C7C0A7]/"]):hover,
button[class*="bg-[#C7C0A7]"]:not([class*="bg-[#C7C0A7]/"]):hover,
.btn-dark:hover,
.btn-outline-pink:hover {
  filter: brightness(1.08);
}

.btn-dark,
.btn-outline-pink {
  background: rgba(74,71,58,0.45) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(145,141,121,0.30) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px) saturate(120%);
}

h1, h2, h3, h4, h5, h6,
h1[class*="text-"], h2[class*="text-"], h3[class*="text-"] {
  color: var(--text-white) !important;
}
h1 > span:not(.text-cream-gradient),
h2 > span:not(.text-cream-gradient),
h3 > span:not(.text-cream-gradient) {
  color: var(--text-white) !important;
}
.text-cream-gradient,
h1 .text-cream-gradient,
h2 .text-cream-gradient,
h3 .text-cream-gradient {
  background-image: var(--text-cream-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  padding-bottom: 0.1em;
}
p, .lead,
[class*="text-[#D6D8D0]"] {
  color: var(--text-body) !important;
}
[class*="text-[#ADA892]"],
.text-muted {
  color: var(--text-muted) !important;
}
[class*="text-[#FFFFFF]"]:not(body),
[class*="text-white"]:not(body),
.nav-curve-link,
.nav-curve-link span,
#nav-user-name,
#dropdown-user-name,
header a span.font-black {
  color: var(--text-white) !important;
}
.nav-curve-link.is-active,
.nav-curve-link.is-active span,
.nav-curve-link:hover,
.nav-curve-link:hover span,
.tracking-wider.font-mono,
.font-mono.font-black,
.font-mono.tracking-tight,
span[class*="rounded-full"][class*="bg-[#C7C0A7]"],
span[class*="rounded-md"][class*="bg-[#C7C0A7]"],
div[class*="rounded-xl"][class*="bg-[#C7C0A7]"],
[class*="text-[#C7C0A7]"] {
  color: var(--text-cream) !important;
}
.btn-pink,
.btn-pink span,
.btn-pink i,
a[class*="bg-[#C7C0A7]"]:not([class*="bg-[#C7C0A7]/"]),
a[class*="bg-[#C7C0A7]"]:not([class*="bg-[#C7C0A7]/"]) span,
button[class*="bg-[#C7C0A7]"]:not([class*="bg-[#C7C0A7]/"]) {
  color: #11120F !important;
}
.btn-dark,
.btn-dark span,
.btn-dark i,
.btn-outline-pink {
  color: var(--text-white) !important;
}
a:hover:not(.btn-pink):not(.btn-dark):not(.nav-curve-link):not([class*="bg-[#C7C0A7]"]) { color: var(--beam-highlight) !important; }
.nav-curve-link:hover,
.nav-curve-link:hover span {
  color: var(--beam-highlight) !important;
}
