/* ============================================================
   آسمان آتش — Asman Atash WHMCS Theme
   نسخه‌ای پاکیزه که فقط رنگ‌بندی و ظاهر را عوض می‌کند
   ساختار Bootstrap دست‌نخورده می‌ماند
   ============================================================ */

/* ============================================================
   FONTS
   ============================================================ */
@font-face {
  font-family: 'IRANSans';
  src: url('../fonts/woff2/IRANSans-UltraLight.woff2') format('woff2'),
       url('../fonts/woff/IRANSans-UltraLight.woff') format('woff');
  font-weight: 200; font-display: swap;
}
@font-face {
  font-family: 'IRANSans';
  src: url('../fonts/woff2/IRANSans-Light.woff2') format('woff2'),
       url('../fonts/woff/IRANSans-Light.woff') format('woff');
  font-weight: 300; font-display: swap;
}
@font-face {
  font-family: 'IRANSans';
  src: url('../fonts/woff2/IRANSans-Regular.woff2') format('woff2'),
       url('../fonts/woff/IRANSans-Regular.woff') format('woff');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'IRANSans';
  src: url('../fonts/woff2/IRANSans-Medium.woff2') format('woff2'),
       url('../fonts/woff/IRANSans-Medium.woff') format('woff');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'IRANSans';
  src: url('../fonts/woff2/IRANSans-Bold.woff2') format('woff2'),
       url('../fonts/woff/IRANSans-Bold.woff') format('woff');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'IRANSans';
  src: url('../fonts/woff2/IRANSans-Black.woff2') format('woff2'),
       url('../fonts/woff/IRANSans-Black.woff') format('woff');
  font-weight: 900; font-display: swap;
}

/* ============================================================
   PALETTES (9 themes)
   ============================================================ */
:root,
[data-palette="ember"] {
  --bg: #08060f; --bg-deep: #050309; --bg-elev: #14101f;
  --bg-card: rgba(20, 14, 32, 0.85); --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-input: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 122, 58, 0.18); --border-strong: rgba(255, 122, 58, 0.4);
  --text: #f3eee4; --text-mute: #a59989; --text-faint: #6b6155;
  --accent: #ff7a3a; --accent-2: #ff2d92; --accent-3: #ffba2a;
  --grad: linear-gradient(135deg, #ff2d92 0%, #ff6a2a 50%, #ffba2a 100%);
  --grad-soft: linear-gradient(135deg, rgba(255,45,146,0.18), rgba(255,186,42,0.12));
  --aurora-1: #ff2d92; --aurora-2: #ff6a2a; --aurora-3: #7c3aed;
}
[data-palette="onyx"] {
  --bg: #0a0a0a; --bg-deep: #000000; --bg-elev: #141414;
  --bg-card: rgba(22,22,22,0.88); --bg-glass: rgba(255,255,255,0.03); --bg-input: rgba(255,255,255,0.05);
  --border: rgba(255,107,0,0.18); --border-strong: rgba(255,107,0,0.42);
  --text: #ffffff; --text-mute: #999999; --text-faint: #555555;
  --accent: #ff6b00; --accent-2: #ff9a3c; --accent-3: #ffcc33;
  --grad: linear-gradient(135deg, #ff6b00 0%, #ff9a3c 100%);
  --grad-soft: linear-gradient(135deg, rgba(255,107,0,0.2), rgba(255,154,60,0.12));
  --aurora-1: #ff6b00; --aurora-2: #ff9a3c; --aurora-3: #1a1a1a;
}
[data-palette="cocoa"] {
  --bg: #fff8ee; --bg-deep: #fdf3e3; --bg-elev: #ffffff;
  --bg-card: rgba(255,255,255,0.92); --bg-glass: rgba(94,56,32,0.04); --bg-input: rgba(94,56,32,0.06);
  --border: rgba(94,56,32,0.15); --border-strong: rgba(94,56,32,0.3);
  --text: #3a2418; --text-mute: #7a5942; --text-faint: #a88a72;
  --accent: #8b4a26; --accent-2: #d97757; --accent-3: #4ade80;
  --grad: linear-gradient(135deg, #8b4a26 0%, #d97757 50%, #4ade80 100%);
  --grad-soft: linear-gradient(135deg, rgba(139,74,38,0.1), rgba(74,222,128,0.08));
  --aurora-1: #d97757; --aurora-2: #4ade80; --aurora-3: #f4a261;
}
[data-palette="neon"] {
  --bg: #f5f7f5; --bg-deep: #ffffff; --bg-elev: #ffffff;
  --bg-card: rgba(255,255,255,0.95); --bg-glass: rgba(0,200,100,0.04); --bg-input: rgba(0,0,0,0.04);
  --border: rgba(0,100,50,0.12); --border-strong: rgba(0,200,100,0.4);
  --text: #0a1a0f; --text-mute: #4a6b54; --text-faint: #7a9c84;
  --accent: #00d27a; --accent-2: #00b8d4; --accent-3: #b6f500;
  --grad: linear-gradient(135deg, #00d27a 0%, #b6f500 100%);
  --grad-soft: linear-gradient(135deg, rgba(0,210,122,0.12), rgba(182,245,0,0.08));
  --aurora-1: #00d27a; --aurora-2: #b6f500; --aurora-3: #00b8d4;
}
[data-palette="midnight"] {
  --bg: #050a18; --bg-deep: #020510; --bg-elev: #0c1530;
  --bg-card: rgba(15,25,50,0.85); --bg-glass: rgba(255,255,255,0.04); --bg-input: rgba(255,255,255,0.05);
  --border: rgba(100,200,255,0.18); --border-strong: rgba(100,200,255,0.4);
  --text: #e6f0ff; --text-mute: #8a9bb8; --text-faint: #5a6b88;
  --accent: #4dd6ff; --accent-2: #7c3aed; --accent-3: #00ffd1;
  --grad: linear-gradient(135deg, #4dd6ff 0%, #7c3aed 100%);
  --grad-soft: linear-gradient(135deg, rgba(77,214,255,0.18), rgba(124,58,237,0.15));
  --aurora-1: #4dd6ff; --aurora-2: #7c3aed; --aurora-3: #00ffd1;
}
[data-palette="royal"] {
  --bg: #0d0820; --bg-deep: #080418; --bg-elev: #1a1138;
  --bg-card: rgba(30,20,60,0.85); --bg-glass: rgba(255,255,255,0.04); --bg-input: rgba(255,255,255,0.05);
  --border: rgba(180,120,255,0.18); --border-strong: rgba(180,120,255,0.45);
  --text: #f0e8ff; --text-mute: #a896c8; --text-faint: #6f5b8b;
  --accent: #b478ff; --accent-2: #ff4d9d; --accent-3: #ffd700;
  --grad: linear-gradient(135deg, #b478ff 0%, #ff4d9d 50%, #ffd700 100%);
  --grad-soft: linear-gradient(135deg, rgba(180,120,255,0.2), rgba(255,77,157,0.12));
  --aurora-1: #b478ff; --aurora-2: #ff4d9d; --aurora-3: #ffd700;
}
[data-palette="sunset"] {
  --bg: #1a0a12; --bg-deep: #100509; --bg-elev: #28121e;
  --bg-card: rgba(50,22,36,0.85); --bg-glass: rgba(255,255,255,0.04); --bg-input: rgba(255,255,255,0.05);
  --border: rgba(255,130,90,0.18); --border-strong: rgba(255,130,90,0.45);
  --text: #fff5ee; --text-mute: #d4a89a; --text-faint: #8a6657;
  --accent: #ff5e7e; --accent-2: #ff9a3c; --accent-3: #ffcc66;
  --grad: linear-gradient(135deg, #ff5e7e 0%, #ff9a3c 50%, #ffcc66 100%);
  --grad-soft: linear-gradient(135deg, rgba(255,94,126,0.2), rgba(255,154,60,0.12));
  --aurora-1: #ff5e7e; --aurora-2: #ff9a3c; --aurora-3: #c64b8e;
}
[data-palette="forest"] {
  --bg: #0a1810; --bg-deep: #050d08; --bg-elev: #14271a;
  --bg-card: rgba(20,40,28,0.85); --bg-glass: rgba(255,255,255,0.04); --bg-input: rgba(255,255,255,0.05);
  --border: rgba(80,200,140,0.18); --border-strong: rgba(80,200,140,0.45);
  --text: #eafff0; --text-mute: #95c2a5; --text-faint: #5e8870;
  --accent: #2ed573; --accent-2: #00d2c6; --accent-3: #fbc531;
  --grad: linear-gradient(135deg, #2ed573 0%, #00d2c6 100%);
  --grad-soft: linear-gradient(135deg, rgba(46,213,115,0.2), rgba(0,210,198,0.12));
  --aurora-1: #2ed573; --aurora-2: #00d2c6; --aurora-3: #fbc531;
}
[data-palette="cyber"] {
  --bg: #050510; --bg-deep: #00000a; --bg-elev: #100a22;
  --bg-card: rgba(20,14,38,0.88); --bg-glass: rgba(255,255,255,0.04); --bg-input: rgba(255,255,255,0.05);
  --border: rgba(0,255,220,0.18); --border-strong: rgba(0,255,220,0.45);
  --text: #e8fbff; --text-mute: #8aa8b3; --text-faint: #506670;
  --accent: #00fff0; --accent-2: #ff2e9e; --accent-3: #fbff00;
  --grad: linear-gradient(135deg, #00fff0 0%, #ff2e9e 100%);
  --grad-soft: linear-gradient(135deg, rgba(0,255,240,0.2), rgba(255,46,158,0.12));
  --aurora-1: #00fff0; --aurora-2: #ff2e9e; --aurora-3: #fbff00;
}

/* ============================================================
   BODY & GLOBALS — override base
   ============================================================ */
html, body {
  font-family: 'IRANSans', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif !important;
}
body {
  background: var(--bg) !important;
  background-color: var(--bg) !important;
  color: var(--text) !important;
  font-size: 14.5px !important;
  line-height: 1.75 !important;
  min-height: 100vh;
  position: relative;
  direction: rtl;
}
[dir="ltr"] body { direction: ltr; }

/* Aurora background */
.bg-canvas {
  position: fixed; inset: 0; z-index: -2;
  overflow: hidden; pointer-events: none;
}
.bg-canvas::before, .bg-canvas::after, .bg-canvas .orb {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.35;
  animation: drift 30s ease-in-out infinite;
}
.bg-canvas::before {
  width: 50vw; height: 50vw; top: -10%; right: -10%;
  background: radial-gradient(circle, var(--aurora-1), transparent 70%);
}
.bg-canvas::after {
  width: 45vw; height: 45vw; bottom: -10%; left: -10%;
  background: radial-gradient(circle, var(--aurora-2), transparent 70%);
  animation-delay: -10s;
}
.bg-canvas .orb {
  width: 40vw; height: 40vw; top: 30%; left: 30%;
  background: radial-gradient(circle, var(--aurora-3), transparent 70%);
  animation-delay: -20s; opacity: 0.2;
}
[data-palette="cocoa"] .bg-canvas::before,
[data-palette="cocoa"] .bg-canvas::after,
[data-palette="cocoa"] .bg-canvas .orb,
[data-palette="neon"] .bg-canvas::before,
[data-palette="neon"] .bg-canvas::after,
[data-palette="neon"] .bg-canvas .orb { opacity: 0.18; }
@keyframes drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.1); }
  66% { transform: translate(-30px,40px) scale(0.9); }
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: 0.4;
  pointer-events: none;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 10px; border: 2px solid var(--bg-deep);
}
::selection { background: var(--accent); color: #fff; }

/* Text & links */
body, body p, body span, body td, body th, body li, body div,
body label, body small, body strong, body em {
  color: inherit;
}
body { color: var(--text) !important; }
body a {
  color: var(--accent) !important;
  text-decoration: none;
  transition: color .2s ease;
}
body a:hover { color: var(--accent-2) !important; text-decoration: none; }

body h1, body h2, body h3, body h4, body h5, body h6,
body .h1, body .h2, body .h3, body .h4, body .h5, body .h6 {
  font-family: 'IRANSans', sans-serif !important;
  font-weight: 800 !important;
  color: var(--text) !important;
}

/* ============================================================
   HEADER
   ============================================================ */
body .primary-bg-color, body #header.header {
  background: transparent !important;
}

body .topbar {
  background: var(--bg-elev) !important;
  border-bottom: 1px solid var(--border) !important;
  padding: 8px 0 !important;
}
body .topbar .btn {
  color: var(--text-mute) !important;
  font-size: 13px;
  background: var(--bg-glass) !important;
  border: 1px solid var(--border) !important;
  border-radius: 9px !important;
}
body .topbar .btn:hover {
  color: var(--accent) !important;
  border-color: var(--accent) !important;
  background: var(--bg-glass) !important;
}
body .topbar .input-group-text {
  background: transparent !important;
  border: 1px solid var(--border) !important;
  color: var(--text-mute) !important;
  font-size: 12px;
}
body .topbar .btn-active-client,
body .topbar .active-client .btn {
  background: var(--bg-glass) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  font-weight: 700;
}
body .topbar .btn-active-client:hover {
  background: var(--grad) !important;
  color: #fff !important;
  border-color: transparent !important;
}
body .topbar .badge-info { background: var(--accent) !important; color: #fff !important; }

/* Navbar */
body .navbar {
  background: transparent !important;
  padding: 16px 0 !important;
}
body .navbar-brand img,
body .navbar-brand .logo {
  height: 46px !important;
  width: auto !important;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

body .main-navbar-wrapper,
body .main-navbar {
  background: transparent !important;
  border-bottom: 1px solid var(--border) !important;
}
body .navbar-nav .nav-link {
  color: var(--text-mute) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 9px 16px !important;
  border-radius: 11px !important;
  transition: all .2s ease;
}
body .navbar-nav .nav-link:hover,
body .navbar-nav .nav-link:focus {
  color: var(--text) !important;
  background: var(--bg-glass) !important;
}
body .navbar-nav .nav-item.active > .nav-link,
body .navbar-nav .nav-link.active {
  color: var(--text) !important;
  background: var(--grad-soft) !important;
}

/* Search input */
body .navbar .input-group .form-control {
  background: var(--bg-glass) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}
body .navbar .input-group .btn {
  background: var(--bg-glass) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-mute) !important;
}

/* Cart button */
body .navbar-nav .cart-btn,
body a.cart-btn {
  background: var(--grad) !important;
  color: #fff !important;
  padding: 0 !important;
  width: 42px !important;
  height: 42px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 12px !important;
  box-shadow: 0 8px 20px -6px var(--accent) !important;
}
body .cart-btn:hover { transform: translateY(-2px); }
body .cart-btn .badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--accent-3) !important;
  color: var(--bg-deep) !important;
  font-size: 10px; padding: 2px 6px;
  border-radius: 999px; font-weight: 800;
}

/* Dropdown menu */
body .dropdown-menu {
  background: var(--bg-elev) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: 14px !important;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5) !important;
  padding: 8px !important;
}
body .dropdown-item {
  color: var(--text) !important;
  font-size: 13.5px !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
}
body .dropdown-item:hover, body .dropdown-item:focus {
  background: var(--grad-soft) !important;
  color: var(--accent) !important;
}
body .dropdown-divider { border-color: var(--border) !important; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
body .master-breadcrumb,
body nav.master-breadcrumb {
  padding: 18px 0 !important;
  background: transparent !important;
  border-bottom: 1px solid var(--border) !important;
  margin-bottom: 24px;
}
body .breadcrumb {
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13px;
}
body .breadcrumb-item a { color: var(--text-mute) !important; }
body .breadcrumb-item a:hover { color: var(--accent) !important; }
body .breadcrumb-item.active { color: var(--text) !important; font-weight: 700; }
body .breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-faint) !important;
}

/* ============================================================
   CARDS
   ============================================================ */
body .card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 14px 40px -14px rgba(0,0,0,0.3) !important;
  margin-bottom: 20px;
  color: var(--text) !important;
  transition: all .3s ease;
}
body .card:hover {
  border-color: var(--border-strong) !important;
}
body .card-header {
  background: rgba(0,0,0,0.1) !important;
  border-bottom: 1px solid var(--border) !important;
  padding: 16px 22px !important;
  color: var(--text) !important;
}
body .card-title {
  color: var(--text) !important;
  font-weight: 800 !important;
  margin: 0;
  font-size: 1.05rem;
}
body .card-title i, body .card-header i {
  color: var(--accent) !important;
  margin-left: 6px;
}
body .card-body {
  padding: 24px !important;
  color: var(--text) !important;
  background: transparent !important;
}
body .card-footer {
  background: rgba(0,0,0,0.1) !important;
  border-top: 1px solid var(--border) !important;
  padding: 14px 22px !important;
  color: var(--text-mute) !important;
}

/* card-accent strips */
body [class*="card-accent-"] { position: relative; overflow: hidden; }
body [class*="card-accent-"]::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad);
}
body .card-accent-blue::before        { background: linear-gradient(90deg, #4dd6ff, #3b82f6); }
body .card-accent-green::before       { background: linear-gradient(90deg, #2ed573, #00d2c6); }
body .card-accent-red::before         { background: linear-gradient(90deg, #ff4757, #ff7a3a); }
body .card-accent-gold::before        { background: linear-gradient(90deg, #ffba2a, #ff9a3c); }
body .card-accent-teal::before        { background: linear-gradient(90deg, #00d2c6, #4dd6ff); }
body .card-accent-pomegranate::before { background: linear-gradient(90deg, #ff2d92, #ff4757); }
body .card-accent-sun-flower::before  { background: linear-gradient(90deg, #ffba2a, #ffd700); }
body .card-accent-asbestos::before    { background: linear-gradient(90deg, #7a8a99, #a0aab5); }
body .card-accent-midnight-blue::before { background: linear-gradient(90deg, #4dd6ff, #7c3aed); }

/* ============================================================
   BUTTONS — keep Bootstrap layout, only change colors
   ============================================================ */
body .btn {
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 13.5px;
  font-family: 'IRANSans', sans-serif !important;
  transition: all .25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
body .btn:focus, body .btn.focus { box-shadow: none !important; outline: 0; }

body .btn-primary, body .btn-success {
  background: var(--grad) !important;
  background-color: var(--accent) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 10px 24px -8px var(--accent) !important;
}
body .btn-primary:hover, body .btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px var(--accent) !important;
  color: #fff !important;
}

body .btn-default, body .btn-secondary {
  background: var(--bg-glass) !important;
  background-color: var(--bg-glass) !important;
  border-color: var(--border-strong) !important;
  color: var(--text) !important;
}
body .btn-default:hover, body .btn-secondary:hover {
  background: var(--bg-elev) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

body .btn-outline-primary {
  background: transparent !important;
  border-color: var(--border-strong) !important;
  color: var(--text) !important;
}
body .btn-outline-primary:hover {
  background: var(--grad) !important;
  border-color: transparent !important;
  color: #fff !important;
}

body .btn-info {
  background: linear-gradient(135deg, #4dd6ff, #06b6d4) !important;
  border-color: transparent !important;
  color: #fff !important;
}
body .btn-danger {
  background: linear-gradient(135deg, #ff4757, #ff2d92) !important;
  border-color: transparent !important;
  color: #fff !important;
}
body .btn-warning {
  background: linear-gradient(135deg, #ffba2a, #ff9a3c) !important;
  border-color: transparent !important;
  color: #fff !important;
}

/* ============================================================
   FORMS
   ============================================================ */
body .form-control,
body input.form-control,
body select.form-control,
body textarea.form-control,
body .field {
  background: var(--bg-input) !important;
  background-color: var(--bg-input) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 11px !important;
  color: var(--text) !important;
  font-family: 'IRANSans', sans-serif !important;
  padding: 11px 16px !important;
  font-size: 14px !important;
  height: auto !important;
}
body .form-control:focus,
body input.form-control:focus,
body .field:focus {
  background: var(--bg-elev) !important;
  border-color: var(--accent) !important;
  color: var(--text) !important;
  box-shadow: 0 0 0 4px var(--grad-soft) !important;
}
body .form-control::placeholder, body .field::placeholder {
  color: var(--text-faint) !important;
}
body .form-control-label,
body label,
body .col-form-label {
  color: var(--text) !important;
  font-weight: 700 !important;
  font-size: 13.5px;
  margin-bottom: 6px;
}
body .custom-select {
  background-color: var(--bg-input) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
  border-radius: 11px !important;
}
body .input-group-text {
  background: var(--bg-glass) !important;
  border: 1.5px solid var(--border) !important;
  color: var(--accent) !important;
  font-weight: 700;
}

/* ============================================================
   prepend-icon — ساختار جدید آسمان آتش
   استفاده در: clientregister.tpl, login.tpl
   ساختار HTML مورد انتظار:
     <div class="form-group prepend-icon">
       <label class="aa-label">عنوان فیلد</label>
       <span class="field-icon"><i class="fas fa-..."></i></span>
       <input class="field form-control" ... />
     </div>
   ============================================================ */
body .prepend-icon {
  position: relative !important;
  margin-bottom: 18px !important;
}
body .prepend-icon > .aa-label,
body .aa-label {
  display: block !important;
  text-align: right !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  position: static !important;
  width: auto !important;
}
[dir="ltr"] body .prepend-icon > .aa-label,
[dir="ltr"] body .aa-label {
  text-align: left !important;
}

/* اطمینان از اینکه label و input کنار هم نمی‌چپن */
body .prepend-icon > .aa-label + .field-icon {
  /* محل آیکن وقتی label هست */
}

body .prepend-icon > .field-icon,
body .prepend-icon > label.field-icon,
body .prepend-icon span.field-icon {
  position: absolute !important;
  top: auto !important;
  bottom: 0 !important;
  right: 14px !important;
  left: auto !important;
  width: 22px !important;
  height: 46px !important;
  line-height: 46px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--accent) !important;
  z-index: 5 !important;
  pointer-events: none !important;
  font-size: 14px !important;
  font-weight: normal !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
}
body .prepend-icon > .field-icon i,
body .prepend-icon span.field-icon i {
  display: block !important;
  line-height: 1 !important;
  font-size: 15px !important;
  color: var(--accent) !important;
}
[dir="ltr"] body .prepend-icon > .field-icon,
[dir="ltr"] body .prepend-icon > label.field-icon,
[dir="ltr"] body .prepend-icon span.field-icon {
  right: auto !important;
  left: 14px !important;
}

/* اگه label نیست، آیکن باید vertically centered باشه */
body .prepend-icon:not(:has(> .aa-label)) > .field-icon,
body .prepend-icon:not(:has(> .aa-label)) > span.field-icon {
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
}

/* ورودی‌ها در prepend-icon */
body .prepend-icon > .field,
body .prepend-icon > input.form-control,
body .prepend-icon > input,
body .prepend-icon > select,
body .prepend-icon > select.field,
body .prepend-icon > textarea {
  padding-right: 42px !important;
  padding-left: 16px !important;
  width: 100% !important;
  height: 46px !important;
  display: block !important;
  text-align: right !important;
  background: var(--bg-input) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 11px !important;
  color: var(--text) !important;
  font-family: 'IRANSans', sans-serif !important;
  font-size: 14px !important;
  transition: all .2s ease;
}
body .prepend-icon > textarea {
  height: auto !important;
  min-height: 100px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
body .prepend-icon > .field:focus,
body .prepend-icon > input.form-control:focus,
body .prepend-icon > input:focus,
body .prepend-icon > select:focus,
body .prepend-icon > textarea:focus {
  background: var(--bg-elev) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 4px var(--grad-soft) !important;
  outline: 0 !important;
}
[dir="ltr"] body .prepend-icon > .field,
[dir="ltr"] body .prepend-icon > input.form-control,
[dir="ltr"] body .prepend-icon > input,
[dir="ltr"] body .prepend-icon > select,
[dir="ltr"] body .prepend-icon > textarea {
  padding-right: 16px !important;
  padding-left: 42px !important;
  text-align: left !important;
}
body .prepend-icon > .field[dir="ltr"],
body .prepend-icon > input.form-control[dir="ltr"],
body .prepend-icon > input[dir="ltr"] {
  text-align: right !important;
  /* مقدارش LTR ولی alignment راست برای فیلد ایمیل/تلفن */
}

/* placeholder در prepend-icon */
body .prepend-icon > input::placeholder,
body .prepend-icon > .field::placeholder,
body .prepend-icon > textarea::placeholder {
  color: var(--text-faint) !important;
  opacity: 1;
}

/* دکمه‌ی نمایش رمز */
body .prepend-icon .aa-reveal,
body .aa-password-group .aa-reveal {
  position: absolute !important;
  top: auto !important;
  bottom: 0 !important;
  left: 8px !important;
  right: auto !important;
  width: 32px !important;
  height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  color: var(--text-mute) !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 5;
  transition: color .2s ease;
}
body .prepend-icon .aa-reveal:hover { color: var(--accent) !important; }
body .prepend-icon .aa-reveal i { font-size: 14px; }
[dir="ltr"] body .prepend-icon .aa-reveal {
  left: auto !important;
  right: 8px !important;
}

/* وقتی reveal button هست، باید padding چپ بیشتر باشه */
body .prepend-icon.aa-password-group > input,
body .prepend-icon:has(.aa-reveal) > input {
  padding-left: 44px !important;
}
[dir="ltr"] body .prepend-icon.aa-password-group > input,
[dir="ltr"] body .prepend-icon:has(.aa-reveal) > input {
  padding-left: 16px !important;
  padding-right: 44px !important;
}

/* لینک کوچک کنار label (مثل "فراموش کرده‌اید؟") */
body .aa-small-link {
  font-size: 12px !important;
  color: var(--text-mute) !important;
  font-weight: 600 !important;
  text-decoration: none;
  transition: color .2s ease;
}
body .aa-small-link:hover { color: var(--accent) !important; }
body .aa-small-link i { font-size: 11px; margin-left: 3px; }

/* ============================================================
   چک‌باکس‌های سفارشی
   ============================================================ */
body .aa-checkbox-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text);
  user-select: none;
  margin: 0 !important;
}
body .aa-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  border: 2px solid var(--border-strong);
  border-radius: 6px;
  background: var(--bg-glass);
  cursor: pointer;
  position: relative;
  transition: all .2s ease;
  flex: 0 0 20px;
}
body .aa-checkbox:hover {
  border-color: var(--accent);
}
body .aa-checkbox:checked {
  background: var(--grad);
  border-color: transparent;
}
body .aa-checkbox:checked::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
}
body .aa-checkbox-text { line-height: 20px; }

/* ============================================================
   عنوان بخش‌ها در فرم register
   ============================================================ */
body .aa-section-title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: var(--text) !important;
  margin: 0 0 22px 0 !important;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
body .aa-section-title i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--grad-soft);
  color: var(--accent) !important;
  font-size: 16px;
  margin: 0 !important;
}

/* ============================================================
   دکمه‌ی Submit زیبا
   ============================================================ */
body .aa-submit-btn {
  padding: 13px 24px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  background: var(--grad) !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 13px !important;
  box-shadow: 0 14px 30px -10px var(--accent) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px;
  transition: all .25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
body .aa-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px var(--accent) !important;
  color: #fff !important;
}
body .aa-submit-btn.btn-block { width: 100% !important; }
body .aa-submit-btn i { font-size: 14px; color: #fff !important; }

/* ============================================================
   کپچا — سازگار با ساختار اصلی WHMCS (verifyimage.php)
   ساختار: .text-center.row > .col-md-8 > #default-captcha-domainchecker
            > .col-6.captchaimage (img)  +  .col-6 (input)
   ============================================================ */
body .aa-captcha-container {
  margin: 18px 0 22px;
}

/* اطمینان از قابل دیده شدن همه‌چیز */
body #default-captcha-domainchecker,
body .captchaimage,
body #inputCaptchaImage,
body #inputCaptcha {
  display: revert;
  visibility: visible !important;
  opacity: 1 !important;
}

/* container کپچا */
body #default-captcha-domainchecker {
  background: var(--bg-glass) !important;
  border: 1.5px dashed var(--border-strong) !important;
  border-radius: 14px !important;
  padding: 16px !important;
  margin: 0 auto !important;
}

/* لیبل بالای کپچا */
body #default-captcha-domainchecker > p,
body #default-captcha-domainchecker p {
  width: 100% !important;
  margin: 0 0 12px 0 !important;
  text-align: center !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text-mute) !important;
}

/* عکس کپچا */
body #default-captcha-domainchecker .captchaimage,
body .captchaimage {
  text-align: center !important;
  padding: 4px !important;
}
body #inputCaptchaImage,
body img#inputCaptchaImage,
body .captchaimage img {
  display: inline-block !important;
  max-height: 60px !important;
  height: auto !important;
  background: #fff !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: 8px !important;
  padding: 6px !important;
  margin: 0 auto !important;
  vertical-align: middle !important;
  visibility: visible !important;
}

/* input کپچا */
body #inputCaptcha,
body input#inputCaptcha {
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  background: var(--bg-input) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 11px !important;
  color: var(--text) !important;
  text-align: center !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: 4px !important;
  padding: 8px 14px !important;
  font-family: 'Segoe UI', Tahoma, sans-serif !important;
}
body #inputCaptcha:focus {
  background: var(--bg-elev) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 4px var(--grad-soft) !important;
  outline: 0 !important;
}
body #inputCaptcha::placeholder {
  letter-spacing: normal;
  color: var(--text-faint);
}

/* reCAPTCHA container */
body #google-recaptcha-domainchecker,
body .recaptcha-container,
body .g-recaptcha,
body .h-captcha {
  display: inline-block !important;
  margin: 0 auto !important;
}

/* تنظیم ستون‌ها در کپچای WHMCS (col-6 captchaimage + col-6 input) */
body #default-captcha-domainchecker.row > [class*="col-"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px !important;
}

/* مخصوص صفحه‌ی homepage که یک wrapper اضافه هست */
body .domainchecker-homepage-captcha {
  margin: 16px auto !important;
  max-width: 460px;
}

/* اگه قبلاً aa-captcha-wrap هم بود، ساپورتش کن (backward compat) */
body .aa-captcha-wrap {
  background: var(--bg-glass);
  border: 1.5px dashed var(--border-strong);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
body .aa-captcha-wrap img {
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 4px;
  max-height: 50px;
  display: inline-block !important;
}
body .aa-captcha-wrap input[type="text"] {
  flex: 1;
  min-width: 160px;
  max-width: 240px;
  margin: 0 !important;
  text-align: center !important;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 15px !important;
}

/* ============================================================
   فرم Register — کارت‌های section
   ============================================================ */
body .aa-register .card {
  border-radius: 18px !important;
}
body .aa-register .card-body {
  padding: 24px !important;
}
@media (min-width: 768px) {
  body .aa-register .card-body { padding: 32px !important; }
}

/* استایل ssl دکمه ساخت رمز */
body .generate-password {
  padding: 10px 16px !important;
  border-radius: 11px !important;
}
body .generate-password i { color: var(--accent) !important; margin-left: 4px; }

/* ============================================================
   helper text زیر فیلدها
   ============================================================ */
body .aa-form-help,
body .field-help-text {
  font-size: 12px !important;
  color: var(--text-faint) !important;
  margin-top: 6px !important;
  display: block;
  line-height: 1.5;
}

/* ============================================================
   input-group RTL fixes (used in login form)
   در RTL باید prepend سمت راست input بیاد
   ============================================================ */
[dir="rtl"] body .input-group {
  direction: rtl !important;
  flex-wrap: wrap;
}

[dir="rtl"] body .input-group > .input-group-prepend {
  margin-left: -1.5px;
  margin-right: 0;
}
[dir="rtl"] body .input-group > .input-group-append {
  margin-right: -1.5px;
  margin-left: 0;
}

/* Border-radius corrections for RTL input-groups */
[dir="rtl"] body .input-group > .input-group-prepend > .input-group-text,
[dir="rtl"] body .input-group > .input-group-prepend > .btn {
  border-top-right-radius: 11px !important;
  border-bottom-right-radius: 11px !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

[dir="rtl"] body .input-group > .form-control:not(:first-child):not(:last-child),
[dir="rtl"] body .input-group-merge > .form-control:not(:first-child) {
  border-radius: 0 !important;
}

[dir="rtl"] body .input-group > .form-control:not(:last-child) {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-top-left-radius: 11px !important;
  border-bottom-left-radius: 11px !important;
}

[dir="rtl"] body .input-group > .form-control:not(:first-child) {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-top-right-radius: 11px !important;
  border-bottom-right-radius: 11px !important;
}

[dir="rtl"] body .input-group > .input-group-append > .input-group-text,
[dir="rtl"] body .input-group > .input-group-append > .btn {
  border-top-left-radius: 11px !important;
  border-bottom-left-radius: 11px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* وقتی هم prepend و هم append دارن */
[dir="rtl"] body .input-group-merge > .form-control {
  border-radius: 0 !important;
}

/* placeholder در input‌ها هم RTL باشه */
body input[type="email"], body input[type="tel"], body input[type="url"], body input[type="text"], body input[type="password"] {
  text-align: right;
  direction: rtl;
}
body input[type="email"]::placeholder,
body input[type="url"]::placeholder { direction: ltr; text-align: right; }
body input[dir="ltr"], body input.text-ltr { direction: ltr; text-align: left; }

/* Phone input (intl-tel-input) باید LTR باشه چون شماره است */
body input[type="tel"], body input[name="phonenumber"], body input[name="phone"] {
  direction: ltr;
  text-align: right;
}

/* Reveal password button */
body .btn-reveal-pw {
  background: var(--bg-glass) !important;
  color: var(--text-mute) !important;
  border: 1.5px solid var(--border) !important;
}
body .btn-reveal-pw:hover { color: var(--accent) !important; }
body .btn-reveal-pw i { color: inherit !important; }

/* Alerts */
body .alert {
  border: 1px solid !important;
  border-radius: 14px !important;
  padding: 14px 18px !important;
  font-size: 14px;
}
body .alert-success {
  background: rgba(46, 213, 115, 0.1) !important;
  border-color: rgba(46, 213, 115, 0.3) !important;
  color: #2ed573 !important;
}
body .alert-danger, body .alert-error {
  background: rgba(255, 71, 87, 0.1) !important;
  border-color: rgba(255, 71, 87, 0.3) !important;
  color: #ff4757 !important;
}
body .alert-warning {
  background: rgba(255, 186, 42, 0.1) !important;
  border-color: rgba(255, 186, 42, 0.3) !important;
  color: var(--accent-3) !important;
}
body .alert-info {
  background: rgba(77, 214, 255, 0.1) !important;
  border-color: rgba(77, 214, 255, 0.3) !important;
  color: #4dd6ff !important;
}

/* ============================================================
   TILES (homepage dashboard stats)
   ============================================================ */
body .tiles { margin: 0 -8px 24px !important; }
body .tiles .row { margin: 0 !important; }
body .tiles [class*="col-"] { padding: 8px !important; }

body .tile {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 18px !important;
  padding: 24px !important;
  text-align: center !important;
  color: var(--text) !important;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  min-height: 160px !important;
  transition: all .3s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
body .tile:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong) !important;
  box-shadow: 0 24px 60px -14px rgba(0,0,0,0.4);
  color: var(--text) !important;
  text-decoration: none !important;
}
body .tile > i {
  font-size: 28px !important;
  color: var(--accent) !important;
  margin-bottom: 12px !important;
  display: inline-flex;
  width: 56px; height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--grad-soft) !important;
  transition: all .3s ease;
}
body .tile:hover > i {
  background: var(--grad) !important;
  color: #fff !important;
  transform: scale(1.1);
}
body .tile .stat {
  font-size: 2.2rem !important;
  font-weight: 900 !important;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  line-height: 1;
  margin-bottom: 6px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}
body .tile .title {
  font-size: 0.92rem !important;
  color: var(--text-mute) !important;
  font-weight: 700;
}
body .tile .highlight { display: none !important; }

/* ============================================================
   ACTION ICON BUTTONS (homepage quick links)
   ============================================================ */
body .action-icon-btns a {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 28px 18px !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 18px !important;
  color: var(--text) !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  height: 100% !important;
  position: relative;
  transition: all .3s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
body .action-icon-btns a:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong) !important;
  color: var(--text) !important;
  text-decoration: none !important;
}
body .action-icon-btns .ico-container,
body .action-icon-btns figure {
  width: 64px !important;
  height: 64px !important;
  margin: 0 auto 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 18px !important;
  background: var(--grad) !important;
  color: #fff !important;
  font-size: 26px;
  box-shadow: 0 12px 30px -8px var(--accent);
  transition: transform .3s ease;
}
body .action-icon-btns a:hover .ico-container,
body .action-icon-btns a:hover figure {
  transform: scale(1.1) rotate(-5deg);
}
body .action-icon-btns figure i,
body .action-icon-btns .ico-container i {
  color: #fff !important;
}

/* card-columns for homepage productGroups */
body .card-columns.home {
  column-count: 3;
  column-gap: 20px;
}
@media (max-width: 992px) { body .card-columns.home { column-count: 2; } }
@media (max-width: 576px) { body .card-columns.home { column-count: 1; } }
body .card-columns.home .card { display: inline-block; width: 100%; }
body .card-columns.home .pricing-card-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}

/* ============================================================
   CLIENT HOME LIST GROUP
   ============================================================ */
body .list-group { background: transparent !important; }
body .list-group-item {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--border) !important;
  color: var(--text) !important;
  padding: 12px 22px !important;
  font-size: 13.5px;
}
body .list-group-item:last-child { border-bottom: 0 !important; }
body .list-group-item-action:hover {
  background: var(--bg-glass) !important;
  color: var(--accent) !important;
}
body .list-group-item.active {
  background: var(--grad-soft) !important;
  color: var(--accent) !important;
  border-color: var(--border-strong) !important;
}
body .list-group-item > i,
body .list-group-item .sidebar-menu-item-icon { color: var(--accent) !important; }

/* Sidebar */
body .card-sidebar { margin-bottom: 16px !important; }
body .card-sidebar .card-header {
  padding: 14px 18px !important;
  cursor: pointer;
}
body .card-sidebar .card-title { font-size: 0.95rem !important; }
body .card-minimise {
  color: var(--text-mute) !important;
  font-size: 12px;
  margin-top: 4px;
  cursor: pointer;
}
body .sidebar-menu-item-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}
body .sidebar-menu-item-icon-wrapper {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px;
  background: var(--grad-soft) !important;
  color: var(--accent) !important;
  flex-shrink: 0;
}
body .list-group-item.active .sidebar-menu-item-icon-wrapper {
  background: var(--grad) !important;
  color: #fff !important;
}
body .sidebar-menu-item-label { flex: 1; font-weight: 600; }
body .sidebar-menu-item-badge .badge {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 999px;
  font-weight: 700;
  padding: 3px 8px;
}

/* ============================================================
   TABLES
   ============================================================ */
body .table {
  color: var(--text) !important;
  background: transparent !important;
  margin-bottom: 0 !important;
}
body .table thead th {
  background: rgba(0,0,0,0.15) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
  font-weight: 800 !important;
  font-size: 12.5px;
  padding: 12px 14px !important;
}
body .table tbody tr {
  transition: background .15s ease;
}
body .table tbody tr:nth-of-type(odd) { background: transparent !important; }
body .table tbody tr:hover {
  background: var(--bg-glass) !important;
  color: var(--text) !important;
}
body .table tbody td {
  border-color: var(--border) !important;
  padding: 14px !important;
  font-size: 13.5px;
  vertical-align: middle;
  color: var(--text) !important;
}
body .table-container {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px;
  padding: 8px;
}

/* DataTables */
body .dataTables_wrapper { padding: 16px; color: var(--text) !important; }
body .dataTables_wrapper input,
body .dataTables_wrapper select {
  background: var(--bg-input) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-radius: 9px !important;
  padding: 6px 12px !important;
}
body .dataTables_filter label,
body .dataTables_length label,
body .dataTables_info { color: var(--text-mute) !important; }
body .dataTables_paginate .paginate_button {
  padding: 6px 12px !important;
  margin: 0 2px !important;
  border-radius: 8px !important;
  background: transparent !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}
body .dataTables_paginate .paginate_button.current,
body .dataTables_paginate .paginate_button.current:hover {
  background: var(--grad) !important;
  color: #fff !important;
  border-color: transparent !important;
}
body .dataTables_paginate .paginate_button:hover {
  background: var(--bg-glass) !important;
  color: var(--accent) !important;
}

/* Status labels (active, paid, etc) */
body .label.status,
body span.status,
body .label-success {
  display: inline-block;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
}
body .status-active,
body .status-paid,
body .label-success {
  background: rgba(46, 213, 115, 0.15) !important;
  color: #2ed573 !important;
  border: 1px solid rgba(46, 213, 115, 0.3) !important;
}
body .status-pending,
body .status-unpaid,
body .label-warning {
  background: rgba(255, 186, 42, 0.15) !important;
  color: var(--accent-3) !important;
  border: 1px solid rgba(255, 186, 42, 0.3) !important;
}
body .status-suspended,
body .status-overdue,
body .status-cancelled,
body .status-terminated,
body .label-danger {
  background: rgba(255, 71, 87, 0.15) !important;
  color: #ff4757 !important;
  border: 1px solid rgba(255, 71, 87, 0.3) !important;
}
body .status-completed,
body .status-closed,
body .label-default {
  background: rgba(124, 58, 237, 0.15) !important;
  color: #b478ff !important;
  border: 1px solid rgba(124, 58, 237, 0.3) !important;
}
body .status-open,
body .status-answered,
body .status-customer-reply,
body .label-info {
  background: rgba(77, 214, 255, 0.15) !important;
  color: #4dd6ff !important;
  border: 1px solid rgba(77, 214, 255, 0.3) !important;
}

/* Badges */
body .badge {
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  font-size: 11px !important;
}
body .badge-info { background: var(--accent) !important; color: #fff !important; }
body .badge-success { background: #2ed573 !important; color: #fff !important; }
body .badge-danger { background: #ff4757 !important; color: #fff !important; }
body .badge-warning { background: var(--accent-3) !important; color: var(--bg-deep) !important; }

/* ============================================================
   FOOTER
   ============================================================ */
body #footer.footer,
body footer#footer {
  background: var(--bg-elev) !important;
  border-top: 1px solid var(--border) !important;
  padding: 40px 0 20px !important;
  color: var(--text-mute) !important;
  margin-top: 40px;
}
body #footer a, body footer a { color: var(--text-mute) !important; }
body #footer a:hover, body footer a:hover { color: var(--accent) !important; }
body #footer .nav-link,
body footer .nav-link {
  padding: 6px 14px !important;
  color: var(--text-mute) !important;
}
body #footer .copyright,
body footer .copyright {
  text-align: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-faint) !important;
}
body #footer .list-inline-item .btn,
body footer .list-inline-item .btn {
  background: var(--bg-glass) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-mute) !important;
}

/* ============================================================
   MODALS
   ============================================================ */
body .modal-content {
  background: var(--bg-elev) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: 18px !important;
  color: var(--text) !important;
}
body .modal-header, body .modal-footer {
  border-color: var(--border) !important;
}
body .modal-title {
  color: var(--text) !important;
  font-weight: 800 !important;
}
body .close {
  color: var(--text) !important;
  opacity: 0.7;
  text-shadow: none;
}
body .close:hover { opacity: 1; color: var(--accent) !important; }

/* ============================================================
   LOGIN / REGISTER FORMS
   ============================================================ */
body .mw-540 { max-width: 540px; margin: 0 auto; }
body .login-form .card,
body form#frmCheckout > .card,
body .password-reset-container .card {
  border-radius: 22px !important;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5) !important;
}
body .login-form .h3 {
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}

/* ============================================================
   ANNOUNCEMENTS / KB
   ============================================================ */
body .announcement {
  padding: 24px;
  border-bottom: 1px solid var(--border) !important;
}
body .announcement:last-child { border-bottom: 0 !important; }
body .announcement h1, body .announcement h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
body .announcement h1 a, body .announcement h2 a {
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}
body .kb-search .form-control {
  padding: 16px 22px !important;
  font-size: 16px !important;
}
body .kb-category .card-body { padding: 22px !important; }
body .kb-category .badge-info {
  background: var(--grad) !important;
  border-radius: 999px;
  padding: 4px 12px;
}
body .kb-article-item {
  padding: 14px 22px !important;
  font-size: 14px;
  color: var(--text) !important;
}
body .kb-article-item:hover { background: var(--bg-glass) !important; }

/* Tickets */
body .ticket-number {
  display: inline-block;
  background: var(--grad-soft);
  color: var(--accent) !important;
  padding: 2px 10px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 12px;
  margin-left: 6px;
}
body .ticket-subject.unread {
  font-weight: 800 !important;
}

/* ============================================================
   PRODUCT DETAILS
   ============================================================ */
body .product-status {
  background: var(--bg-glass) !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
}
body .product-status h3 {
  font-size: 1.15rem;
  margin: 8px 0 4px;
  color: var(--text) !important;
}
body .product-status h4 {
  font-size: 0.85rem;
  color: var(--text-mute) !important;
  font-weight: 600;
}
body .product-status-text {
  display: inline-block;
  padding: 6px 18px;
  background: var(--grad) !important;
  color: #fff !important;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin-top: 12px;
}

/* fa-stack */
body .fa-stack-2x { color: var(--accent) !important; opacity: 0.15; }
body .fa-stack-1x { color: var(--accent) !important; }

/* ============================================================
   PROGRESS BAR
   ============================================================ */
body .progress {
  background: var(--bg-glass) !important;
  border-radius: 999px;
  height: 8px;
}
body .progress-bar {
  background: var(--grad) !important;
  border-radius: 999px;
}

/* ============================================================
   PALETTE PICKER
   ============================================================ */
.aa-palette-picker {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 1000;
}
.aa-palette-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-left: 0;
  border-radius: 0 14px 14px 0;
  color: var(--accent);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
  cursor: pointer;
  transition: all .2s ease;
}
.aa-palette-toggle:hover {
  background: var(--grad);
  color: #fff;
}
.aa-palette-toggle svg {
  width: 20px; height: 20px;
  animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.aa-palette-panel {
  position: absolute;
  top: 50%;
  left: 54px;
  transform: translateY(-50%) translateX(-20px);
  width: 260px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: all .3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 80vh;
  overflow-y: auto;
}
.aa-palette-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}
.aa-palette-panel h4 {
  font-size: 13px !important;
  margin-bottom: 14px !important;
  color: var(--text-mute) !important;
  font-weight: 700 !important;
}
.aa-palette-list { display: grid; gap: 10px; }
.aa-palette-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  background: transparent;
  width: 100%;
  text-align: right;
}
.aa-palette-item:hover { background: var(--bg-glass); }
.aa-palette-item.is-active {
  border-color: var(--accent);
  background: var(--grad-soft);
}
.aa-palette-swatch {
  width: 36px; height: 36px;
  border-radius: 10px;
  flex: 0 0 36px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}
.aa-palette-info { flex: 1; min-width: 0; text-align: right; }
.aa-palette-info strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}
.aa-palette-info small {
  font-size: 11px;
  color: var(--text-mute);
}

[dir="ltr"] .aa-palette-toggle {
  border-radius: 14px 0 0 14px;
  border-left: 1px solid var(--border-strong);
  border-right: 0;
}
[dir="ltr"] .aa-palette-info { text-align: left; }

/* ============================================================
   HOMEPAGE HERO (logged-out)
   ============================================================ */
.aa-hero {
  padding: 60px 0 40px;
  position: relative;
}
.aa-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 992px) {
  .aa-hero-grid { grid-template-columns: 1fr; gap: 30px; }
}
.aa-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem) !important;
  line-height: 1.18 !important;
  font-weight: 900 !important;
  margin-bottom: 18px !important;
  color: var(--text) !important;
}
.aa-hero .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}
.aa-hero p.lead {
  font-size: 1.05rem;
  color: var(--text-mute) !important;
  line-height: 1.85;
  margin-bottom: 28px;
  max-width: 540px;
}
.aa-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  color: var(--accent) !important;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
}
.aa-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: aapulse 2s ease-in-out infinite;
}
@keyframes aapulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* Dashboard mockup */
.aa-dash {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-deep));
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
  animation: dashfloat 6s ease-in-out infinite;
}
@keyframes dashfloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.aa-dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.aa-dash-title { font-size: 13px; font-weight: 800; color: var(--text); }
.aa-dash-title small {
  display: block;
  font-size: 11px;
  color: var(--text-mute);
  font-weight: 500;
  margin-top: 2px;
}
.aa-dash-dots { display: flex; gap: 6px; }
.aa-dash-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #2ed573;
}
.aa-dash-dots span:nth-child(1) { background: #ff4757; }
.aa-dash-dots span:nth-child(2) { background: #ffa502; }
.aa-dash-rows { display: flex; flex-direction: column; gap: 14px; }
.aa-dash-row {
  display: grid;
  grid-template-columns: 44px 1fr 80px;
  gap: 12px;
  align-items: center;
}
.aa-dash-percent {
  font-size: 12px; font-weight: 800; color: var(--text);
  font-family: 'Segoe UI', Tahoma, sans-serif; text-align: center;
}
.aa-dash-bar {
  height: 7px;
  background: var(--bg-glass);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.aa-dash-bar-fill {
  position: absolute; inset: 0;
  border-radius: 999px;
  width: 0;
  animation: aabarfill 2s ease-out forwards;
}
@keyframes aabarfill { to { width: var(--w, 50%); } }
.aa-dash-row:nth-child(1) .aa-dash-bar-fill { background: linear-gradient(90deg, #ff6a2a, #ffba2a); --w: 24%; }
.aa-dash-row:nth-child(2) .aa-dash-bar-fill { background: linear-gradient(90deg, #3b82f6, #06b6d4); --w: 41%; }
.aa-dash-row:nth-child(3) .aa-dash-bar-fill { background: linear-gradient(90deg, #a855f7, #ec4899); --w: 18%; }
.aa-dash-row:nth-child(4) .aa-dash-bar-fill { background: linear-gradient(90deg, #10b981, #3b82f6); --w: 57%; }
.aa-dash-label {
  font-size: 11.5px; font-weight: 700; color: var(--text-mute);
  font-family: 'Segoe UI', Tahoma, sans-serif;
}
.aa-dash-status {
  margin-top: 16px; padding: 10px 14px;
  background: rgba(46, 213, 115, 0.08);
  border: 1px solid rgba(46, 213, 115, 0.25);
  border-radius: 11px;
  display: flex; align-items: center; gap: 9px;
  font-size: 11.5px;
  color: var(--text-mute);
}
.aa-dash-status .dot {
  width: 7px; height: 7px;
  background: #2ed573;
  border-radius: 50%;
  box-shadow: 0 0 12px #2ed573;
  animation: aapulse 2s ease-in-out infinite;
}
.aa-dash-status strong { color: #2ed573; margin: 0 4px; }

/* Domain checker */
body .domain-checker,
.domain-checker {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: 20px !important;
  padding: 22px !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-bottom: 30px;
}

/* ============================================================
   ICONS
   ============================================================ */
body .text-primary { color: var(--accent) !important; }
body .text-muted { color: var(--text-mute) !important; }
body .text-success { color: #2ed573 !important; }
body .text-danger { color: #ff4757 !important; }
body .text-warning { color: var(--accent-3) !important; }
body .text-info { color: #4dd6ff !important; }
body .bg-light { background: var(--bg-glass) !important; }

/* Item-selector for language modal */
body .item-selector .item {
  display: block;
  padding: 12px;
  text-align: center;
  background: var(--bg-glass) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px;
  color: var(--text) !important;
  margin-bottom: 8px;
  text-decoration: none !important;
}
body .item-selector .item.active {
  background: var(--grad) !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* Checkbox & radio accent */
body input[type="checkbox"], body input[type="radio"] {
  accent-color: var(--accent);
}

/* card-minimise collapse */
body .card-sidebar.collapsed .collapsable-card-body { display: none !important; }
body .card-sidebar.collapsed .card-minimise { transform: rotate(180deg); }

/* extra-padding utility */
body .extra-padding { padding: 24px !important; }
@media (min-width: 768px) { body .extra-padding { padding: 40px !important; } }

/* ============================================================
   RTL/LTR FIXES
   ============================================================ */
[dir="rtl"] body .float-md-right, [dir="rtl"] body .float-right { float: left !important; }
[dir="rtl"] body .float-md-left,  [dir="rtl"] body .float-left  { float: right !important; }
[dir="rtl"] body .ml-auto { margin-right: auto !important; margin-left: 0 !important; }
[dir="rtl"] body .mr-auto { margin-left: auto !important; margin-right: 0 !important; }
[dir="rtl"] body .text-right { text-align: left !important; }
[dir="rtl"] body .text-left  { text-align: right !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  body .navbar-brand img { height: 36px !important; }
  .aa-palette-picker { top: auto; bottom: 80px; }
  .aa-palette-panel { top: auto; bottom: 0; }
  body .tiles [class*="col-"] { padding: 6px !important; }
  body .tile { padding: 18px !important; min-height: 130px !important; }
  body .tile > i { font-size: 22px !important; width: 48px; height: 48px; }
  body .tile .stat { font-size: 1.6rem !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   END
   ============================================================ */

/* ============================================================
   FEATURES GRID (homepage)
   ============================================================ */
.aa-features {
  padding: 60px 0;
  position: relative;
}
.aa-section-head {
  text-align: center;
  margin-bottom: 40px;
}
.aa-section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem) !important;
  margin-bottom: 12px !important;
  color: var(--text) !important;
}
.aa-section-head h2 .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}
.aa-section-head p {
  color: var(--text-mute) !important;
  font-size: 1.02rem;
  max-width: 620px;
  margin: 0 auto;
}

.aa-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.aa-feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  transition: all .3s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.aa-feature:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.4);
}
.aa-feature .aa-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--grad-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 22px;
}
.aa-feature h4 {
  font-size: 1.05rem !important;
  margin: 0 0 8px !important;
  color: var(--text) !important;
  font-weight: 800 !important;
}
.aa-feature p {
  font-size: 13.5px;
  color: var(--text-mute);
  line-height: 1.75;
  margin: 0;
}

/* ============================================================
   DATACENTERS SECTION (homepage)
   ============================================================ */
.aa-datacenters {
  padding: 60px 0;
  position: relative;
}
.aa-dc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.aa-dc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.aa-dc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0.7;
}
.aa-dc-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.aa-dc-flag {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 10px;
}
.aa-dc-card h5 {
  font-size: 1.02rem !important;
  margin: 0 0 8px !important;
  color: var(--text) !important;
  font-weight: 800 !important;
}
.aa-dc-ping {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--grad-soft);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 800;
  margin-bottom: 8px;
}
.aa-dc-card small {
  display: block;
  color: var(--text-mute);
  font-size: 12px;
  line-height: 1.6;
}

/* ============================================================
   CTA BANNER (homepage)
   ============================================================ */
.aa-cta {
  padding: 60px 0;
}
.aa-cta-banner {
  background: var(--grad);
  border-radius: 24px;
  padding: 50px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px var(--accent);
}
.aa-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1), transparent 50%);
  pointer-events: none;
}
.aa-cta-banner h2 {
  color: #fff !important;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem) !important;
  font-weight: 900 !important;
  margin-bottom: 14px !important;
  position: relative;
  z-index: 1;
}
.aa-cta-banner p {
  color: rgba(255,255,255,0.95) !important;
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}
.aa-cta-banner .btn {
  position: relative;
  z-index: 1;
  background: #fff !important;
  color: var(--bg-deep) !important;
  font-weight: 800 !important;
  padding: 12px 32px !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  box-shadow: 0 14px 40px rgba(0,0,0,0.25) !important;
}
.aa-cta-banner .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35) !important;
  color: var(--bg-deep) !important;
}

/* ============================================================
   STATS BAR (homepage logged out)
   ============================================================ */
.aa-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 50px 0 30px;
}
@media (max-width: 768px) {
  .aa-stats { grid-template-columns: repeat(2, 1fr); }
}
.aa-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 14px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.aa-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  margin-bottom: 4px;
  line-height: 1;
}
.aa-stat small {
  font-size: 12.5px;
  color: var(--text-mute);
  font-weight: 600;
}

/* ============================================================
   FAQ / Helper text below forms
   ============================================================ */
body .aa-form-help {
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 6px;
}

/* ============================================================
   CAPTCHA improvements
   ============================================================ */
body .captcha-wrapper,
body #inputCaptcha,
body .captcha-wrapper img {
  display: inline-block !important;
  vertical-align: middle !important;
}
body .captcha-wrapper img {
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 4px;
  max-height: 50px;
}
body .form-group .captcha-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap;
}
body .form-group .captcha-wrapper input[type="text"] {
  flex: 1;
  min-width: 150px;
  max-width: 240px;
}

/* For h-captcha / re-captcha frame */
body .g-recaptcha, body .h-captcha {
  display: inline-block;
  margin: 8px 0;
}

/* ============================================================
   DOMAIN SEARCH ON HOMEPAGE — better spacing
   ============================================================ */
body .domain-checker h3 {
  font-size: 1.3rem !important;
  margin-bottom: 18px !important;
  color: var(--text) !important;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}
body .domain-checker h3 i {
  -webkit-text-fill-color: var(--accent);
  color: var(--accent);
  margin-left: 8px;
}
body .domain-checker .form-control-lg {
  padding: 14px 20px !important;
  font-size: 15px !important;
  border-radius: 12px !important;
}
body .domain-checker .btn-lg {
  padding: 14px 22px !important;
  font-size: 15px !important;
}
body .domain-checker .row.no-gutters {
  gap: 8px;
}
body .domain-checker .row.no-gutters > [class*="col-"] {
  padding: 0 4px;
}

/* ============================================================
   "Already registered?" sidebar card in register page
   ============================================================ */
body #registration .card-sidebar .list-group-item {
  padding: 16px 22px !important;
}
body #registration .card-sidebar a.list-group-item {
  font-weight: 700;
}

/* ============================================================
   Topbar — "Logged in as" widget
   ============================================================ */
body .topbar .active-client {
  border-radius: 11px;
  overflow: hidden;
}
body .topbar .input-group {
  border-radius: 11px;
}

/* Notifications popover button */
body #accountNotifications {
  border-radius: 9px;
  font-weight: 700;
}
body #accountNotifications i { margin-left: 6px; }

/* ============================================================
   Better focus states
   ============================================================ */
body *:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px !important;
}
body input:focus-visible,
body button:focus-visible,
body select:focus-visible,
body textarea:focus-visible,
body a:focus-visible { outline-offset: 0 !important; }

/* ============================================================
   Phone number prefix display (for IR)
   ============================================================ */
body .iti__flag-container,
body .iti-flag {
  z-index: 6;
}
body .intl-tel-input .selected-flag {
  background: var(--bg-glass) !important;
  border-right: 1px solid var(--border) !important;
}

/* ============================================================
   Pagination
   ============================================================ */
body .pagination .page-item .page-link {
  background: transparent !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 8px !important;
  margin: 0 2px;
}
body .pagination .page-item.active .page-link {
  background: var(--grad) !important;
  border-color: transparent !important;
  color: #fff !important;
}
body .pagination .page-item .page-link:hover {
  background: var(--bg-glass) !important;
  color: var(--accent) !important;
}


/* ============================================================
   NAVBAR RTL تصحیحات نهایی
   ============================================================ */
[dir="rtl"] body .navbar {
  direction: rtl !important;
}
[dir="rtl"] body .navbar-brand {
  margin-right: 0 !important;
  margin-left: 1rem !important;
}
[dir="rtl"] body .navbar-nav.mr-auto { margin-left: auto !important; margin-right: 0 !important; }
[dir="rtl"] body .navbar-nav.ml-auto { margin-right: auto !important; margin-left: 0 !important; }
[dir="rtl"] body .navbar .toolbar { direction: rtl; }
[dir="rtl"] body .dropdown-menu { text-align: right !important; }
[dir="rtl"] body .dropdown-menu-right {
  left: 0 !important;
  right: auto !important;
}

/* Dropdown arrow position */
[dir="rtl"] body .navbar-nav .dropdown-toggle::after {
  margin-right: 0.4em !important;
  margin-left: 0 !important;
}

/* ============================================================
   BREADCRUMB RTL separator
   ============================================================ */
[dir="rtl"] body .breadcrumb-item + .breadcrumb-item {
  padding-right: 0.5rem !important;
  padding-left: 0 !important;
}
[dir="rtl"] body .breadcrumb-item + .breadcrumb-item::before {
  padding-right: 0 !important;
  padding-left: 0.5rem !important;
  content: '\\' !important;
  float: right !important;
  color: var(--text-faint) !important;
}

/* ============================================================
   TOPBAR RTL — "Logged in as" widget
   ============================================================ */
[dir="rtl"] body .topbar .d-flex {
  flex-direction: row !important;
}
[dir="rtl"] body .topbar .ml-auto {
  margin-right: auto !important;
  margin-left: 0 !important;
}
[dir="rtl"] body .topbar .mr-auto {
  margin-left: auto !important;
  margin-right: 0 !important;
}
body .topbar .btn-active-client i { margin-left: 6px !important; margin-right: 0 !important; }

/* ============================================================
   CARD HEADER RTL
   ============================================================ */
[dir="rtl"] body .card-title i,
[dir="rtl"] body .card-header i {
  margin-left: 8px !important;
  margin-right: 0 !important;
}
[dir="rtl"] body .card-minimise {
  float: left !important;
}

/* ============================================================
   FORMS RTL — Label icons spacing
   ============================================================ */
[dir="rtl"] body label i,
[dir="rtl"] body .form-control-label i {
  margin-left: 6px !important;
  margin-right: 0 !important;
}
[dir="rtl"] body .btn i {
  margin-left: 6px !important;
  margin-right: 0 !important;
}
[dir="rtl"] body .btn i:only-child { margin: 0 !important; }
[dir="rtl"] body .btn i:last-child:not(:first-child) {
  margin-right: 6px !important;
  margin-left: 0 !important;
}

/* ============================================================
   SIDEBAR RTL
   ============================================================ */
[dir="rtl"] body .sidebar-menu-item-icon-wrapper {
  margin-left: 10px !important;
  margin-right: 0 !important;
}
[dir="rtl"] body .sidebar-menu-item-badge {
  margin-right: auto !important;
}

/* ============================================================
   ALERT RTL
   ============================================================ */
[dir="rtl"] body .alert .close {
  left: 14px !important;
  right: auto !important;
  margin: 0 !important;
}
[dir="rtl"] body .alert i {
  margin-left: 8px !important;
  margin-right: 0 !important;
}

/* ============================================================
   MODAL RTL
   ============================================================ */
[dir="rtl"] body .modal-header .close {
  margin-right: auto !important;
  margin-left: 0 !important;
}

/* ============================================================
   TABLE RTL — اعداد و آیکن‌ها
   ============================================================ */
[dir="rtl"] body .table {
  text-align: right;
}
[dir="rtl"] body .table th,
[dir="rtl"] body .table td {
  text-align: right;
}
[dir="rtl"] body .table .text-center { text-align: center !important; }
[dir="rtl"] body .table td .btn i,
[dir="rtl"] body .table th i {
  margin-left: 4px !important;
  margin-right: 0 !important;
}

/* ============================================================
   FOOTER RTL
   ============================================================ */
[dir="rtl"] body #footer .float-lg-right {
  float: left !important;
}
[dir="rtl"] body #footer .nav-link i {
  margin-left: 6px !important;
  margin-right: 0 !important;
}

/* ============================================================
   DOMAIN SEARCH — RTL تصحیح
   ============================================================ */
[dir="rtl"] body .domain-checker .row.no-gutters {
  direction: rtl;
}
body .domain-checker input[type="text"] {
  direction: ltr;
  text-align: left;
  padding: 14px 18px !important;
  font-size: 15px !important;
}
body .domain-checker input[type="text"]::placeholder {
  text-align: right;
  font-family: 'IRANSans', sans-serif;
  direction: rtl;
}

/* ============================================================
   CART BUTTON Position fix
   ============================================================ */
[dir="rtl"] body .navbar-nav.toolbar { margin-right: auto !important; margin-left: 0 !important; }
[dir="rtl"] body .toolbar .nav-item.ml-3 {
  margin-right: 0.75rem !important;
  margin-left: 0 !important;
}

/* ============================================================
   TICKETS / FAQ — RTL آیکن‌ها
   ============================================================ */
[dir="rtl"] body .ticket-number {
  margin-right: 0 !important;
  margin-left: 6px !important;
}

/* ============================================================
   ACCOUNT NOTIFICATIONS
   ============================================================ */
body #accountNotifications {
  white-space: nowrap;
}
body #accountNotifications .badge {
  margin: 0 4px !important;
  vertical-align: middle;
}

/* ============================================================
   PRODUCT STATUS CARD RTL
   ============================================================ */
[dir="rtl"] body .product-status .fa-stack i { margin: 0 !important; }
[dir="rtl"] body .product-actions-wrapper .btn i {
  margin-left: 6px !important;
  margin-right: 0 !important;
}

/* ============================================================
   PRODUCT GROUP CARDS — همیشه پایین دکمه باشه
   ============================================================ */
body .card-columns.home .card {
  display: flex !important;
  flex-direction: column !important;
}
body .card-columns.home .card .card-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1;
}
body .card-columns.home .card .card-body .btn {
  margin-top: auto;
}

/* ============================================================
   اعداد فارسی - فونت بهتر برای اعداد
   ============================================================ */
body .aa-stat strong,
body .tile .stat,
body .aa-dash-percent {
  font-family: 'IRANSans', sans-serif !important;
  font-feature-settings: 'tnum';
}

/* ============================================================
   مودال انتخاب زبان - RTL
   ============================================================ */
[dir="rtl"] body .modal-localisation .close {
  left: 18px !important;
  right: auto !important;
  top: 14px !important;
  position: absolute !important;
}
body .modal-localisation .item-selector .item {
  padding: 14px 12px !important;
  font-weight: 600;
}

/* ============================================================
   PALETTE LOCK INDICATOR — وقتی ادمین قفل کرده
   ============================================================ */
body .aa-palette-lock-info {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 11px;
  color: var(--text-faint);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
body .aa-palette-lock-info.show {
  opacity: 1;
}

/* ============================================================
   اطمینان از اینکه h2 ها در aa-section-head وسط بمونن
   ============================================================ */
body .aa-section-head h2 {
  display: block;
  width: 100%;
}

/* ============================================================
   لمس کاربری بهتر برای موبایل
   ============================================================ */
@media (max-width: 540px) {
  body .aa-section-title { font-size: 0.95rem !important; }
  body .aa-section-title i { width: 30px; height: 30px; font-size: 13px; }
  body .aa-register .card-body { padding: 18px !important; }
  body .prepend-icon { margin-bottom: 14px !important; }
}

/* ============================================================
   پایان CSS آسمان آتش
   ============================================================ */

/* ============================================================
   DOMAIN SEARCH SECTION — جدید
   ============================================================ */
body .aa-domain-section {
  padding-top: 30px !important;
}
body .domain-checker {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: 20px !important;
  padding: 28px 24px !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-bottom: 30px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}
body .domain-checker::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
body .domain-checker h3 {
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  margin-bottom: 8px !important;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}
body .domain-checker h3 i {
  -webkit-text-fill-color: var(--accent);
  color: var(--accent);
  margin-left: 8px;
  font-size: 1.2rem;
}

body .aa-domain-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
@media (max-width: 640px) {
  body .aa-domain-form { flex-direction: column; }
}
body .aa-domain-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
}
body .aa-domain-input-wrap input {
  flex: 1;
  padding: 14px 18px !important;
  padding-right: 44px !important;
  background: var(--bg-input) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 13px !important;
  color: var(--text) !important;
  font-size: 15px !important;
  font-weight: 500;
  width: 100%;
  height: 52px !important;
  transition: all .2s ease;
}
body .aa-domain-input-wrap input:focus {
  border-color: var(--accent) !important;
  background: var(--bg-elev) !important;
  box-shadow: 0 0 0 4px var(--grad-soft) !important;
  outline: 0 !important;
}
body .aa-domain-input-wrap input::placeholder {
  color: var(--text-faint) !important;
  font-family: 'IRANSans', sans-serif;
}
body .aa-domain-search-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 16px;
  z-index: 2;
  pointer-events: none;
}
[dir="ltr"] body .aa-domain-search-icon {
  right: auto;
  left: 16px;
}
[dir="ltr"] body .aa-domain-input-wrap input {
  padding-right: 18px !important;
  padding-left: 44px !important;
}

body .aa-domain-buttons {
  display: flex;
  gap: 8px;
}
body .aa-domain-buttons .btn {
  padding: 14px 22px !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  border-radius: 13px !important;
  height: 52px !important;
  min-width: 100px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  body .aa-domain-buttons { width: 100%; }
  body .aa-domain-buttons .btn { flex: 1; }
}

/* TLD pills */
body .aa-domain-tlds {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 6px;
}
body .aa-tld-pill {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-mute);
  font-weight: 700;
  font-family: 'Segoe UI', monospace;
}
body .aa-tld-more {
  margin-right: 6px;
  font-size: 12px;
  color: var(--accent) !important;
  font-weight: 700;
  text-decoration: none;
}
body .aa-tld-more:hover {
  color: var(--accent-2) !important;
}
body .aa-tld-more i {
  font-size: 10px;
  margin-right: 4px;
}


/* ============================================================
   PRODUCT GROUP CARDS — بازطراحی برای WHMCS shop
   ============================================================ */
body .card-columns.home {
  column-count: 3;
  column-gap: 22px;
  margin-top: 30px;
}
@media (max-width: 992px) { body .card-columns.home { column-count: 2; } }
@media (max-width: 576px) { body .card-columns.home { column-count: 1; } }

body .card-columns.home .card {
  display: inline-block !important;
  width: 100%;
  margin-bottom: 22px;
  border-radius: 18px !important;
  overflow: hidden;
  position: relative;
  transition: all .35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
body .card-columns.home .card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad);
  z-index: 2;
}
body .card-columns.home .card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong) !important;
  box-shadow: 0 26px 60px -20px rgba(0,0,0,0.45) !important;
}
body .card-columns.home .card .card-body {
  padding: 32px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}
body .card-columns.home .pricing-card-title {
  font-size: 1.3rem !important;
  font-weight: 900 !important;
  margin-bottom: 12px !important;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  line-height: 1.3;
}
body .card-columns.home .card .text-muted {
  font-size: 13.5px !important;
  margin-bottom: 22px !important;
  color: var(--text-mute) !important;
  line-height: 1.7;
  flex-grow: 1;
}
body .card-columns.home .card .btn {
  margin-top: auto;
  width: 100% !important;
  padding: 12px 18px !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
}

/* ============================================================
   CART / ORDER PAGE — بهبود ظاهر
   ============================================================ */
body #order-standard_cart,
body .cart-body,
body #order-cart {
  font-family: 'IRANSans', sans-serif !important;
}

/* عنوان صفحه‌ی کارت "مرور و پرداخت نهایی" */
body #order-cart h1,
body #order-cart .header-lined,
body .cart-body h1,
body .cart-body > h1,
body .checkout-page h1 {
  font-size: 1.5rem !important;
  font-weight: 900 !important;
  margin: 0 0 24px 0 !important;
  padding-bottom: 18px !important;
  border-bottom: 1px solid var(--border) !important;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  position: relative;
}
body #order-cart h1::before {
  content: '';
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 60px;
  height: 3px;
  background: var(--grad);
  border-radius: 3px;
}
[dir="ltr"] body #order-cart h1::before { right: auto; left: 0; }

/* جدول محصولات در کارت */
body .cart-body .table {
  border-radius: 14px;
  overflow: hidden;
}
body .cart-body .table thead {
  background: rgba(0,0,0,0.2);
}
body .cart-body .table thead th {
  font-weight: 800 !important;
  padding: 14px !important;
  border-bottom: 2px solid var(--border-strong) !important;
}
body .cart-body .empty-cart-msg,
body .cart-empty {
  text-align: center;
  padding: 36px 16px !important;
  color: var(--text-mute);
  font-size: 14px;
}

/* "کارت خرید شما خالی است" — markup */
body .table tr td[colspan] {
  text-align: center;
  padding: 30px 14px !important;
  color: var(--text-mute);
  font-style: normal;
  font-size: 14px;
}

/* خلاصه سفارش */
body #orderSummary,
body .order-summary,
body .order-summary-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: 18px !important;
  padding: 22px !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
body #orderSummary::before,
body .order-summary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
body #orderSummary h3,
body .order-summary h3,
body #orderSummary .panel-title {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  margin: 0 0 18px 0 !important;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text) !important;
}

/* جمع کل خلاصه سفارش */
body #orderSummary .summary-total,
body .order-summary .total,
body #orderSummary .total-due-today {
  font-size: 1.4rem !important;
  font-weight: 900 !important;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* دکمه‌ی پرداخت نهایی */
body button[name="checkout"],
body #btnCompleteOrder,
body .checkout-btn,
body a[href*="checkout"].btn-primary {
  background: var(--grad) !important;
  color: #fff !important;
  font-weight: 800 !important;
  padding: 12px 22px !important;
  border-radius: 12px !important;
  width: 100% !important;
  box-shadow: 0 14px 30px -10px var(--accent) !important;
}

/* لینک ادامه خرید */
body .cart-body a[href*="cart.php"],
body .order-summary a {
  color: var(--accent) !important;
  font-weight: 700;
}

/* اعمال کوپن تخفیف box */
body .promotion-code-box,
body .coupon-box,
body #frmPromotion {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  padding: 18px !important;
  margin-top: 18px;
}
body .promotion-code-box .input-group input,
body #frmPromotion input,
body input[name="promocode"] {
  background: var(--bg-input) !important;
  border: 1.5px solid var(--border) !important;
  color: var(--text) !important;
  height: 46px;
  border-radius: 11px !important;
}
body #frmPromotion .btn,
body .promotion-code-box .btn {
  height: 46px;
  padding: 0 22px !important;
}

/* عنوان "اعمال کوپن تخفیف" */
body .coupon-title,
body #frmPromotion h4,
body #frmPromotion .form-control-label {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: var(--text) !important;
  margin-bottom: 12px !important;
  display: block;
}

/* جدول گزینه‌های پرداخت در checkout */
body .payment-options,
body .paymentmethods,
body .payment-method {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 8px;
  transition: all .2s ease;
}
body .payment-options:hover,
body .payment-method:hover {
  border-color: var(--border-strong) !important;
}
body .payment-options.active,
body .payment-method.active {
  border-color: var(--accent) !important;
  background: var(--grad-soft) !important;
}

/* sidebar در صفحه‌ی cart (سمت راست با لینک‌های ثبت دامنه و انتقال و مشاهده کارت) */
body .cart-sidebar,
body .order-sidebar {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 18px !important;
  overflow: hidden;
}
body .cart-sidebar .list-group-item.active,
body .order-sidebar .list-group-item.active {
  background: var(--grad-soft) !important;
  border-right: 3px solid var(--accent) !important;
  color: var(--accent) !important;
  font-weight: 800;
}

/* ============================================================
   PRODUCTS PAGE — لیست پلن‌ها در shop
   ============================================================ */
body .product-card,
body .product-box,
body .package-product,
body .product-list .product {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 18px !important;
  padding: 26px 22px !important;
  margin-bottom: 22px;
  transition: all .35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}
body .product-card::before,
body .product-box::before,
body .package-product::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
body .product-card:hover,
body .product-box:hover,
body .package-product:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong) !important;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.4) !important;
}

body .product-card h3,
body .product-box h3,
body .package-product h3,
body .product-list .product h3 {
  font-size: 1.2rem !important;
  font-weight: 900 !important;
  margin: 0 0 14px 0 !important;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}

body .product-price,
body .product-card .price,
body .price-display,
body .pricing-box .price {
  font-size: 2.2rem !important;
  font-weight: 900 !important;
  color: var(--text) !important;
  margin: 16px 0 !important;
  line-height: 1.1;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}
body .product-price .currency,
body .product-price small {
  font-size: 1rem !important;
  color: var(--text-mute) !important;
  font-weight: 600;
}
body .product-price .billing-cycle,
body .pricing-cycle {
  font-size: 0.85rem !important;
  color: var(--text-faint) !important;
  display: block;
  margin-top: 4px;
}

/* لیست ویژگی‌ها در محصول */
body .product-card ul,
body .product-features,
body .product-box ul,
body .package-product ul {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  text-align: right;
}
[dir="ltr"] body .product-card ul,
[dir="ltr"] body .product-features { text-align: left; }

body .product-card ul li,
body .product-features li,
body .product-box ul li,
body .package-product ul li {
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--text-mute);
  border-bottom: 1px dashed var(--border);
  position: relative;
  padding-right: 24px;
}
[dir="ltr"] body .product-card ul li,
[dir="ltr"] body .product-features li {
  padding-right: 0;
  padding-left: 24px;
}
body .product-card ul li:last-child,
body .product-features li:last-child {
  border-bottom: 0;
}
body .product-card ul li::before,
body .product-features li::before {
  content: '✓';
  position: absolute;
  right: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  background: var(--grad);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
[dir="ltr"] body .product-card ul li::before,
[dir="ltr"] body .product-features li::before {
  right: auto;
  left: 0;
}

/* دکمه‌ی سفارش پلن */
body .product-card .btn,
body .product-box .btn,
body .package-product .btn,
body .pricing-box .btn {
  width: 100% !important;
  padding: 13px 18px !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  margin-top: 12px;
}

/* popular plan highlight */
body .product-card.popular,
body .product-card.featured,
body .package-product.featured {
  border-width: 2px !important;
  border-color: var(--accent) !important;
  box-shadow: 0 30px 60px -20px var(--accent) !important;
  transform: scale(1.02);
}
body .product-card.popular::after,
body .product-card.featured::after {
  content: '★ پیشنهاد ویژه';
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--grad);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
[dir="rtl"] body .product-card.popular::after,
[dir="rtl"] body .product-card.featured::after {
  left: auto;
  right: 14px;
}

/* ============================================================
   PRODUCT GROUP TITLE/HEADER (در صفحه shop)
   ============================================================ */
body .product-group-header,
body .group-header,
body .product-group-title {
  text-align: center;
  margin: 30px 0;
  padding: 24px;
  background: var(--bg-glass);
  border-radius: 16px;
  border: 1px solid var(--border);
}
body .product-group-header h1,
body .product-group-header h2 {
  font-size: 1.7rem !important;
  font-weight: 900 !important;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  margin: 0 0 8px 0 !important;
}

