@import url('fonts.css');

html, body, * {
    font-family: 'Tajawal', Arial, Helvetica, sans-serif !important;
}

:root {
  --font-heading: "Space Grotesk", "Inter", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  --text-h1: clamp(2.4rem, 2.1rem + 1.6vw, 3.4rem);
  --text-h2: clamp(2rem, 1.8rem + 1.2vw, 2.8rem);
  --text-h3: clamp(1.6rem, 1.45rem + 0.8vw, 2.2rem);
  --text-h4: clamp(1.35rem, 1.2rem + 0.6vw, 1.8rem);
  --text-h5: clamp(1.1rem, 1.05rem + 0.3vw, 1.35rem);
  --text-h6: clamp(0.95rem, 0.92rem + 0.2vw, 1.1rem);

  --text-body-lg: clamp(1.05rem, 1rem + 0.2vw, 1.2rem);
  --text-body: 1rem;
  --text-body-sm: 0.9375rem;
  --text-caption: 0.8125rem;

  --primary-start: #4F46E5;
  --primary-end: #9333EA;
  --secondary: #0F172A;
  --accent: #22D3EE;
  --bg-light: #F8FAFC;
  --bg-dark: #0B1120;
  --glass-light: rgb(255 255 255 / 0%);
  --glass-dark: rgba(15, 23, 42, 0.55);
  --text-primary: #0b1220;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --border-default: rgba(148, 163, 184, 0.35);
  --border-muted: rgba(148, 163, 184, 0.2);
  --focus-ring: rgba(59, 130, 246, 0.35);
  --focus-border: rgba(59, 130, 246, 0.8);
  --link: #1d4ed8;
  --link-hover: #1e40af;
  --link-underline: rgba(29, 78, 216, 0.35);
  --input-bg: #ffffff;
  --input-text: #0b1220;
  --input-border: #cbd5e1;
  --input-placeholder: #64748b;
  --shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.12);
  --table-head-bg: rgba(148, 163, 184, 0.12);
  --table-row-even: rgba(148, 163, 184, 0.06);
  --table-row-hover: rgba(99, 102, 241, 0.08);
}

.dark {
  --text-primary: #e2e8f0;
  --text-muted: #cbd5e1;
  --text-subtle: #94a3b8;
  --border-default: rgba(148, 163, 184, 0.22);
  --border-muted: rgba(148, 163, 184, 0.12);
  --focus-ring: rgba(56, 189, 248, 0.3);
  --focus-border: rgba(56, 189, 248, 0.75);
  --link: #7dd3fc;
  --link-hover: #bae6fd;
  --link-underline: rgba(125, 211, 252, 0.45);
  --input-bg: #0f172a;
  --input-text: #e2e8f0;
  --input-border: rgba(148, 163, 184, 0.3);
  --input-placeholder: #94a3b8;
  --shadow-soft: 0 18px 40px rgba(2, 6, 23, 0.6);
  --table-head-bg: rgba(15, 23, 42, 0.8);
  --table-row-even: rgba(148, 163, 184, 0.08);
  --table-row-hover: rgba(99, 102, 241, 0.16);
}

html:not(.dark) {
  color-scheme: light;
}

html:not(.dark) .bg-slate-950 {
  background-color: #f8fafc !important;
}

html:not(.dark) .bg-slate-950\/80 {
  background-color: rgba(248, 250, 252, 0.88) !important;
}

html:not(.dark) .bg-slate-900\/55 {
  background-color: rgb(15 23 42 / 11%) !important;
}

html:not(.dark) .bg-slate-900,
html:not(.dark) .bg-slate-900\/25,
html:not(.dark) .bg-slate-900\/30,
html:not(.dark) .bg-slate-900\/40,
html:not(.dark) .bg-slate-900\/50,
html:not(.dark) .bg-slate-900\/60,
html:not(.dark) .bg-slate-900\/70,
html:not(.dark) .bg-slate-800\/20,
html:not(.dark) .bg-slate-800\/25,
html:not(.dark) .bg-slate-800\/30,
html:not(.dark) .bg-slate-800\/40,
html:not(.dark) .bg-slate-700\/25,
html:not(.dark) .bg-slate-700\/30,
html:not(.dark) .bg-slate-700\/40 {
  background-color: #ffffff !important;
}

html:not(.dark) .border-slate-800,
html:not(.dark) .border-slate-700,
html:not(.dark) .border-slate-600 {
  border-color: #dbe3ef !important;
}

html:not(.dark) .text-slate-100 {
  color: #0f172a !important;
}

html:not(.dark) .text-slate-200 {
  color: #1e293b !important;
}

html:not(.dark) .text-slate-300 {
  color: #334155 !important;
}
button.rounded-full.border.border-rose-500\/40.px-3.py-1.text-xs.text-rose-200 {
    background-color: rgb(241 2 2) !important;
}
html:not(.dark) .text-slate-400,
html:not(.dark) .text-slate-500,
html:not(.dark) .text-slate-600 {
  color: #000000 !important;
}

a.rounded-full.border.border-amber-500\/40.px-3.py-1.text-\[11px\].text-amber-200 {
    background-color: rgb(52 126 231) !important;
    color: white !important;
}
html:not(.dark) .hover\:bg-slate-900\/70:hover {
  background-color: #eef4ff !important;
}

html:not(.dark) .hover\:bg-slate-700\/30:hover,
html:not(.dark) .hover\:bg-slate-700\/40:hover,
html:not(.dark) .hover\:bg-slate-800\/25:hover,
html:not(.dark) .hover\:bg-slate-800\/30:hover {
  background-color: #eef4ff !important;
}

html:not(.dark) .hover\:text-white:hover {
  color: #0f172a !important;
}


* {
  box-sizing: border-box;
}
.relative {
  position: relative;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Poppins", "Open Sans", Arial, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(147, 51, 234, 0.25), transparent 70%),
    radial-gradient(1000px 500px at 0% 10%, rgba(79, 70, 229, 0.25), transparent 70%),
    var(--bg-light);
  color: var(--text-primary);
}

.dark body {
  background: radial-gradient(1200px 600px at 80% -10%, rgba(147, 51, 234, 0.2), transparent 70%),
    radial-gradient(1000px 500px at 0% 10%, rgba(79, 70, 229, 0.2), transparent 70%),
    var(--bg-dark);
  color: var(--text-primary);
}

/* Keep secondary actions readable and consistent across layouts */
.bg-secondary {
  --tw-bg-opacity: 1;
  background-color: rgb(52 126 231) !important;
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}
.bg-slate-950\/55 {
    background-color: rgb(231 218 63 / 55%) !important;
}
.bg-secondary:hover {
background-color: #d9dee4 !important;
}
.bg-rose-500\/20 {
    background-color: rgb(226 17 53 / 91%) !important;
}
.bg-slate-800 {
    --tw-bg-opacity: 1;
    background-color: rgb(17 25 46 / 0%) !important;
}
.bg-secondary:focus-visible {
  box-shadow: 0 0 0 3px rgb(148 163 184 / 0.35);
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--link-underline);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--link-hover);
}

:where(a, button, .btn, input, select, textarea, .toggle-track, .command-item, .sidebar-link, .card-interactive):focus-visible {
  outline: 2px solid var(--focus-border);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--focus-ring);
}

.bg-grid {
  background-image: linear-gradient(rgba(79, 70, 229, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
}

.glass {
  background: rgb(255 255 255);
  border: 1px solid var(--border-default);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.dark .glass {
  background: var(--glass-dark);
  border-color: var(--border-muted);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.6);
}

.gradient-text {
  background: linear-gradient(120deg, var(--primary-start), var(--primary-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-border {
  border: 1px solid transparent;
  background: linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(120deg, var(--primary-start), var(--primary-end)) border-box;
}

.dark .gradient-border {
  background: linear-gradient(#0b1120, #0b1120) padding-box,
    linear-gradient(120deg, var(--primary-start), var(--primary-end)) border-box;
}

.soft-shadow {
  box-shadow: var(--shadow-soft);
}

.badge {
  background: rgba(34, 211, 238, 0.15);
  color: #0891b2;
}

.dark .badge {
  color: #22d3ee;
}

/* Semantic UI helpers (prefer these over long inline utility chains in Blade) */
.ui-note {
  border-radius: 0.75rem;
  border: 1px solid var(--border-default);
  padding: 0.5rem 0.75rem;
}

.ui-note--info {
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.3);
  color: #0f172a;
}

.dark .ui-note--info {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(125, 211, 252, 0.5);
  color: #e2e8f0;
}

.ui-inline-code {
  display: inline-block;
  margin-inline: 0.25rem;
  border-radius: 0.375rem;
  padding: 0.125rem 0.375rem;
  background: #f1f5f9;
  color: #334155;
}

.dark .ui-inline-code {
  background: #1e293b;
  color: #e2e8f0;
}

.ui-status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid;
  padding: 0.125rem 0.5rem;
  font-size: 11px;
  line-height: 1;
}

.ui-status-pill--blocked {
  background: rgba(244, 63, 94, 0.2);
  border-color: rgba(244, 63, 94, 0.4);
  color: #fecdd3;
}

.ui-status-pill--ok {
  background: rgb(16 185 129);
  border-color: rgba(16, 185, 129, 0.4);
  color: #ecfdf5;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.float {
  animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.animated-gradient {
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
}

.menu-open {
  display: block;
}

.floating-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
}

.rtl-ready[dir="rtl"] {
  direction: rtl;
}

.rtl-ready[dir="rtl"] .rtl-flip {
  flex-direction: row-reverse;
}

.rtl-ready[dir="rtl"] .rtl-text {
  text-align: right;
}

.rtl-ready[dir="rtl"] .sidebar-user {
  left: auto;
  right: 0;
  border-right: 0;
  border-left: 1px solid var(--border-muted);
}


/* RTL polish for user dashboard sidebar */
.rtl-ready[dir="rtl"] .sidebar-link.is-active::before {
  left: auto;
  right: -0.5rem;
}

.rtl-ready[dir="rtl"] .sidebar-link-compact,
.rtl-ready[dir="rtl"] .sidebar-child-link {
  text-align: right;
}

.rtl-ready[dir="rtl"] .sidebar-child-label {
  text-align: right;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.02em;
}

.type-h1 {
  font-size: var(--text-h1);
  line-height: var(--leading-tight);
  font-weight: var(--weight-bold);
}

.type-h2 {
  font-size: var(--text-h2);
  line-height: var(--leading-tight);
  font-weight: var(--weight-bold);
}

.type-h3 {
  font-size: var(--text-h3);
  line-height: var(--leading-snug);
  font-weight: var(--weight-semibold);
}

.type-h4 {
  font-size: var(--text-h4);
  line-height: var(--leading-snug);
  font-weight: var(--weight-semibold);
}

.type-h5 {
  font-size: var(--text-h5);
  line-height: var(--leading-normal);
  font-weight: var(--weight-semibold);
}

.type-h6 {
  font-size: var(--text-h6);
  line-height: var(--leading-normal);
  font-weight: var(--weight-medium);
}

.text-body-lg {
  font-size: var(--text-body-lg);
  line-height: var(--leading-relaxed);
}

.text-body {
  font-size: var(--text-body);
  line-height: var(--leading-normal);
}

.text-body-sm {
  font-size: var(--text-body-sm);
  line-height: var(--leading-normal);
}

.text-caption {
  font-size: var(--text-caption);
  line-height: var(--leading-snug);
  letter-spacing: 0.02em;
}

.font-regular {
  font-weight: var(--weight-regular);
}

.font-medium {
  font-weight: var(--weight-medium);
}

.font-semibold {
  font-weight: var(--weight-semibold);
}

.font-bold {
  font-weight: var(--weight-bold);
}

input,
textarea,
select {
  background-color: var(--input-bg) !important;
  color: var(--input-text) !important;
  border: 1px solid var(--input-border);
  border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--input-placeholder);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--focus-border);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

[x-cloak] {
  display: none !important;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
  padding-left: 20px;
  padding-right: 20px;
}

.layout-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

.layout-container-wide {
  max-width: 1360px;
}

.layout-padding {
  padding-inline: 24px;
}

.dashboard-shell {
  width: 100%;
}

.dashboard-main {
  transition: padding 0.2s ease;
  min-width: 0;
}

.dashboard-layout .dashboard-content-shell {
  padding-top: 1.25rem;
  padding-bottom: 1.75rem;
}

.dashboard-layout .dashboard-content-container {
  max-width: 1320px;
}

.dashboard-layout .dashboard-topbar {
  backdrop-filter: blur(14px);
}

.dashboard-layout .dashboard-topbar .glass {
  border-radius: 9999px;
}

@media (max-width: 1023px) {
  .dashboard-layout .dashboard-main {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .dashboard-layout .dashboard-content-container {
    padding-inline: 12px;
  }

  .dashboard-layout .dashboard-topbar-inner {
    min-height: 60px;
  }

  .dashboard-layout .dashboard-topbar .h-10.w-10 {
    width: 2.35rem;
    height: 2.35rem;
  }
}

@media (max-width: 639px) {
  .dashboard-layout .dashboard-content-shell {
    padding-top: 0.95rem;
    padding-bottom: 1.25rem;
  }

  .dashboard-layout .dashboard-topbar-inner {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .dashboard-layout .dashboard-topbar .text-xs {
    font-size: 0.68rem;
  }

  .dashboard-layout .dashboard-main .glass,
  .dashboard-layout .dashboard-main .card {
    border-radius: 0.9rem;
  }
}

@media (min-width: 1024px) {
  .dashboard-shell.sidebar-expanded .dashboard-main {
    padding-left: 16rem;
    padding-right: 0;
  }

  .rtl-ready[dir="rtl"] .dashboard-shell.sidebar-expanded .dashboard-main {
    padding-left: 0;
    padding-right: 16rem;
  }

  .dashboard-shell.sidebar-collapsed .dashboard-main {
    padding-left: 5rem;
    padding-right: 0;
  }

  .rtl-ready[dir="rtl"] .dashboard-shell.sidebar-collapsed .dashboard-main {
    padding-left: 0;
    padding-right: 5rem;
  }

  .dashboard-shell.sidebar-expanded .sidebar-user {
    width: 16rem;
  }

  .dashboard-shell.sidebar-collapsed .sidebar-user {
    width: 5rem;
  }
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-track {
  position: relative;
  width: 44px;
  height: 24px;
  background: rgba(148, 163, 184, 0.3);
  border-radius: 999px;
  transition: background 0.2s ease;
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.toggle-input:checked + .toggle-track {
  background: rgba(99, 102, 241, 0.8);
}

.toggle-input:checked + .toggle-track .toggle-thumb {
  transform: translateX(20px);
}

.toggle-label {
  font-size: 0.85rem;
  color: inherit;
}

.sidebar-user {
  background: linear-gradient(180deg, rgba(7, 12, 24, 0.98), rgba(2, 6, 23, 0.98));
  box-shadow: 12px 0 34px rgba(2, 6, 23, 0.42);
  border-right: 1px solid var(--border-muted);
  padding-inline: 0.5rem;
}

.sidebar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
}

.sidebar-brand-mark {
  height: 2.5rem;
  width: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(14, 165, 233, 0.25));
  border: 1px solid var(--border-muted);
  font-size: 1rem;
}

.sidebar-subtitle {
  margin-top: 0.4rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(148, 163, 184, 0.6);
}

.sidebar-link {
  position: relative;
  color: rgba(226, 232, 240, 0.78);
  background: rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(148, 163, 184, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.sidebar-link:hover {
  color: #f8fafc;
  background: rgba(30, 41, 59, 0.56);
  border-color: var(--border-muted);
  transform: translateY(-1px);
}

.sidebar-link.is-active {
  color: #f8fafc;
  background: linear-gradient(120deg, rgba(56, 189, 248, 0.16), rgba(99, 102, 241, 0.16));
  border-color: rgba(125, 211, 252, 0.42);
  box-shadow: 0 8px 18px rgba(8, 47, 73, 0.35);
}

.sidebar-link.is-active::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 0.6rem;
  height: calc(100% - 1.2rem);
  width: 0.25rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.9), rgba(14, 165, 233, 0.9));
}

.sidebar-icon {
  height: 2.25rem;
  width: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.7);
  color: rgba(226, 232, 240, 0.9);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.sidebar-link.is-active .sidebar-icon {
  background: rgba(99, 102, 241, 0.2);
  color: #e0f2fe;
  box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.4);
}

.compact-sidebar .sidebar-brand {
  width: 100%;
  justify-content: center;
}

.compact-sidebar .sidebar-subtitle {
  display: none;
}

.sidebar-link-compact {
  justify-content: flex-start;
  padding-inline: 0.6rem;
  position: relative;
  min-height: 2.9rem;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.dashboard-shell.sidebar-collapsed .sidebar-link-compact {
  justify-content: center;
  padding-inline: 0.3rem;
}

.rtl-ready[dir="rtl"] .dashboard-shell.sidebar-expanded .sidebar-link-compact {
  justify-content: flex-end;
  text-align: right;
  direction: ltr;
}
thead.text-left.text-slate-400 {
    text-align: justify;
}
.sidebar-link-compact .sidebar-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  background: rgba(15, 23, 42, 0.92);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.2);
  flex-shrink: 0;
}

.sidebar-tooltip {
  position: absolute;
  left: calc(100% + 0.8rem);
  top: 50%;
  transform: translateY(-50%) translateX(-6px) scale(0.96);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #f8fafc;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  padding: 0.5rem 0.72rem;
  border-radius: 0.72rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.45);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  z-index: 80;
}

.sidebar-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent rgba(15, 23, 42, 0.98) transparent transparent;
}

.rtl-ready[dir="rtl"] .sidebar-tooltip::after {
  left: 100%;
  right: auto;
  top: 50%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(15, 23, 42, 0.98);
}

.sidebar-link-compact:hover .sidebar-tooltip,
.sidebar-link-compact:focus-visible .sidebar-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0) scale(1);
}

.rtl-ready[dir="rtl"] .sidebar-tooltip {
  left: auto;
  right: calc(100% + 0.8rem);
  transform: translateY(-50%) translateX(6px) scale(0.96);
}

.rtl-ready[dir="rtl"] .sidebar-link-compact:hover .sidebar-tooltip,
.rtl-ready[dir="rtl"] .sidebar-link-compact:focus-visible .sidebar-tooltip {
  transform: translateY(-50%) translateX(0) scale(1);
}

.sidebar-scroll {
  scrollbar-width: none;
  scrollbar-color: rgba(148, 163, 184, 0.65) rgba(15, 23, 42, 0.28);
}

.sidebar-scroll::-webkit-scrollbar {
  width: 5px;
}

.sidebar-scroll::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.35);
  border-radius: 999px;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.88), rgba(100, 116, 139, 0.82));
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.45);
  background-clip: padding-box;
}

.sidebar-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(186, 230, 253, 0.95), rgba(148, 163, 184, 0.9));
  background-clip: padding-box;
}

.sidebar-submenu {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.sidebar-child-link {
  background: rgba(30, 41, 59, 0.24);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sidebar-child-link:hover {
  background: rgba(51, 65, 85, 0.38);
}

.sidebar-child-link.is-active {
  background: rgba(99, 102, 241, 0.22);
  border: 1px solid rgba(129, 140, 248, 0.34);
}

.sidebar-child-icon {
  background: rgba(51, 65, 85, 0.45);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.22);
}

.sidebar-child-label {
  font-size: 0.78rem;
  color: rgba(226, 232, 240, 0.86);
}

.sidebar-flyout {
  border-color: rgba(100, 116, 139, 0.45);
  background: rgba(15, 23, 42, 0.95);
}

.sidebar-flyout-title {
  color: rgba(148, 163, 184, 0.88);
}

html:not(.dark) .dashboard-shell {
  background: linear-gradient(180deg, #f8fbff 0%, #f6f9fc 100%);
}

html:not(.dark) .sidebar-user {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  box-shadow: 14px 0 32px rgba(15, 23, 42, 0.1);
  border-right: 1px solid #dce6f5;
}

html:not(.dark) .rtl-ready[dir="rtl"] .sidebar-user {
  border-left: 1px solid #dce6f5;
  border-right: 0;
}

html:not(.dark) .sidebar-brand {
  color: #0f172a;
}

html:not(.dark) .sidebar-brand-mark {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.14), rgba(56, 189, 248, 0.16));
  border-color: #cbdcf6;
  color: #1e293b;
}

html:not(.dark) .sidebar-subtitle {
  color: #64748b;
}

html:not(.dark) .sidebar-link,
html:not(.dark) .sidebar-link-compact {
  color: #334155;
  background: rgba(248, 250, 252, 0.96);
  /*border: 1px solid #dbe7f6;*/
}

html:not(.dark) .sidebar-link:hover,
html:not(.dark) .sidebar-link-compact:hover {
  color: #0f172a;
  background: #eef4ff;
  border-color: #c7daf7;
  transform: translateY(-1px);
}

html:not(.dark) .sidebar-link.is-active,
html:not(.dark) .sidebar-link-compact.is-active {
  color: #0f172a;
  background: linear-gradient(120deg, rgba(56, 189, 248, 0.18), rgba(79, 70, 229, 0.16));
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: 0 10px 22px rgba(59, 130, 246, 0.16);
}

html:not(.dark) .sidebar-link.is-active::before {
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.95), rgba(14, 165, 233, 0.95));
}

html:not(.dark) .sidebar-icon {
  background: #f1f5ff;
  color: #334155;
  box-shadow: inset 0 0 0 1px #d7e2f4;
}

html:not(.dark) .sidebar-link.is-active .sidebar-icon,
html:not(.dark) .sidebar-link-compact.is-active .sidebar-icon {
  background: rgba(79, 70, 229, 0.14);
  color: #4338ca;
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.3);
}

html:not(.dark) .sidebar-tooltip {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-color: rgba(148, 163, 184, 0.5);
  color: #f8fafc;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.25);
}

html:not(.dark) .sidebar-tooltip::after {
  border-color: transparent #0f172a transparent transparent;
}

html:not(.dark).rtl-ready[dir="rtl"] .sidebar-tooltip::after {
  border-color: transparent transparent transparent #0f172a;
}

html:not(.dark) .sidebar-scroll {
  scrollbar-color: rgba(100, 116, 139, 0.62) rgba(203, 213, 225, 0.45);
}

html:not(.dark) .sidebar-scroll::-webkit-scrollbar-track {
  background: rgba(203, 213, 225, 0.55);
}

html:not(.dark) .sidebar-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(100, 116, 139, 0.88), rgba(71, 85, 105, 0.76));
  border: 1px solid rgba(241, 245, 249, 0.9);
}

html:not(.dark) .sidebar-submenu {
  background: rgba(226, 232, 240, 0.58);
  border-color: rgba(148, 163, 184, 0.35);
}

html:not(.dark) .sidebar-child-link {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

html:not(.dark) .sidebar-child-link:hover {
  background: rgba(226, 232, 240, 0.75);
  border-color: rgba(148, 163, 184, 0.36);
}

html:not(.dark) .sidebar-child-link.is-active {
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(99, 102, 241, 0.32);
}

html:not(.dark) .sidebar-child-icon {
  background: rgba(241, 245, 255, 0.98);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.36);
}

html:not(.dark) .sidebar-child-label {
  color: #334155;
}

html:not(.dark) .sidebar-flyout {
  background: rgba(248, 250, 252, 0.98);
  border-color: rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}

html:not(.dark) .sidebar-flyout-title {
  color: #64748b;
}

html:not(.dark) .dashboard-main > header {
  background: rgba(248, 250, 252, 0.88) !important;
  border-bottom-color: rgba(203, 213, 225, 0.9) !important;
}

html:not(.dark) .dashboard-main > header .glass {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(203, 213, 225, 0.85);
}

html:not(.dark) .dashboard-main > main .glass,
html:not(.dark) .dashboard-main > main .card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(203, 213, 225, 0.9);
}

.macro-flow {
  position: relative;
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  background-color: rgba(148, 163, 184, 0.08);
  background-image: radial-gradient(rgba(148, 163, 184, 0.35) 1px, transparent 1px);
  background-size: 16px 16px;
}

.macro-flow::before {
  content: '';
  position: absolute;
  left: 1.5rem;
  top: 2.5rem;
  bottom: 2.5rem;
  width: 2px;
  background: rgba(148, 163, 184, 0.35);
}

.macro-node {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.8rem;
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  background: var(--input-bg);
  color: var(--input-text);
  border: 1px solid var(--input-border);
  border-radius: 12px;
  padding: 0.6rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-control::placeholder {
  color: var(--input-placeholder);
  opacity: 0.8;
}

.form-control:focus {
  outline: none;
  border-color: var(--focus-border);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.form-control:hover {
  border-color: var(--focus-border);
}

.form-control:disabled,
.form-control[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-subtle);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.table thead {
  background: var(--table-head-bg);
}

.table th,
.table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-muted);
}

.table th {
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.table tbody tr:nth-child(even) {
  background: var(--table-row-even);
}

.table tbody tr:hover {
  background: var(--table-row-hover);
}

.table-sort-indicator {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--border-muted);
  background: var(--input-bg);
  color: inherit;
  min-width: 220px;
  max-width: 360px;
  box-shadow: var(--shadow-soft);
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--border-muted);
  background: rgba(148, 163, 184, 0.1);
}

.macro-start {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.45);
  color: #dcfce7;
}

.macro-end {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.45);
  color: #dbeafe;
}

.macro-actions {
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.macro-action-card {
  position: relative;
  margin-left: 2rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.macro-action-card::before {
  content: '';
  position: absolute;
  left: -1.15rem;
  top: 1.25rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.6);
  border: 2px solid rgba(15, 23, 42, 0.8);
}

.macro-action-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.macro-action-title {
  flex: 1;
}

.macro-handle {
  cursor: grab;
  user-select: none;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.75rem;
}

.macro-remove {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  color: #fecdd3;
  background: rgba(244, 63, 94, 0.15);
}

.macro-action-body {
  display: grid;
  gap: 0.75rem;
}

.macro-param {
  display: grid;
  gap: 0.35rem;
}

.macro-param-label {
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.7);
}

.macro-input,
.macro-select,
.macro-textarea {
  width: 100%;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
}

.macro-textarea {
  resize: vertical;
}

.macro-toggle {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.macro-toggle-option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.8);
  background: rgba(15, 23, 42, 0.5);
}

.macro-toggle-input {
  accent-color: #22c55e;
}

.macro-add {
  background: rgba(34, 197, 94, 0.9);
  color: #f0fdf4;
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  font-weight: 600;
  border: none;
}

.macro-add:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.macro-modal {
  z-index: 9999;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .float,
  .animated-gradient {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}


.relative.poto {
    display: flex;
    top: 50%;
    position: absolute;
}

/* User Dashboard - Light Mode readability + cleaner design */
html:not(.dark) .dashboard-main {
  color: #0f172a;
  line-height: 1.55;
}

html:not(.dark) .dashboard-main .glass,
html:not(.dark) .dashboard-main .card,
html:not(.dark) .dashboard-main [class*="rounded-2xl"].bg-slate-900,
html:not(.dark) .dashboard-main [class*="rounded-2xl"].bg-slate-900\/60,
html:not(.dark) .dashboard-main [class*="rounded-2xl"].bg-slate-900\/70 {
  background: #ffffff !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html:not(.dark) .dashboard-main .text-slate-300,
html:not(.dark) .dashboard-main .text-slate-400,
html:not(.dark) .dashboard-main .text-slate-500 {
  color: #000000 !important;
}

html:not(.dark) .dashboard-main h1,
html:not(.dark) .dashboard-main h2,
html:not(.dark) .dashboard-main h3 {
  color: #000000;
  letter-spacing: -0.012em;
}

/* Sidebar simplification */
.sidebar-user {
  box-shadow: none !important;
}

.sidebar-link,
.sidebar-link-compact,
.sidebar-child-link {
  box-shadow: none !important;
}

.sidebar-link.is-active,
.sidebar-link-compact.is-active,
.sidebar-child-link.is-active {
  box-shadow: none !important;
}

.sidebar-icon,
.sidebar-child-icon {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.sidebar-link-compact .sidebar-icon svg,
.sidebar-child-icon svg,
.sidebar-icon svg {
  width: 70% !important;
  height: 70% !important;
  max-width: 100%;
  max-height: 100%;
  display: block;
}

html:not(.dark) .sidebar-link,
html:not(.dark) .sidebar-link-compact,
html:not(.dark) .sidebar-child-link {
  color: #252d3a;
}

html:not(.dark) .sidebar-link:hover,
html:not(.dark) .sidebar-link-compact:hover,
html:not(.dark) .sidebar-child-link:hover {
  background: rgba(71, 85, 105, 0.08) !important;
}

html:not(.dark) .sidebar-link.is-active,
html:not(.dark) .sidebar-link-compact.is-active,
html:not(.dark) .sidebar-child-link.is-active {
  background: rgba(37, 99, 235, 0.1) !important;
  color: #0f172a !important;
}

html:not(.dark) .text-emerald-200 {
    --tw-text-opacity: 1;
    color: rgb(25 27 26) !important;
}

html:not(.dark) button.rounded-full.border.border-rose-500\/30.px-3.py-1.text-rose-200 {
    background-color: #f83a3a !important;
}

html:not(.dark) .bg-cyan-500\/20 {
    background-color: rgb(74 85 255 / 98%) !important;
}

.w-full.max-w-3xl.glass.rounded-2xl.p-6 {
    background-color: white !important;
}
html:not(.dark) .bg-slate-950\/60 {
    background-color: rgb(205 209 229 / 60%) !important;
}
html:not(.dark) .text-slate-200 {
    color: #1e293b !important;
    background-color: snow;
}

html:not(.dark) .bg-slate-950\/50 {
    background-color: rgb(255 255 255 / 50%) !important;
}

html:not(.dark) .bg-slate-900\/80 {
    background-color: rgb(243 245 251 / 80%) !important;
}
html:not(.dark) .bg-cyan-500\/15 {
    background-color: rgb(10 148 255) !important;
}/* Conversations-new: keep center/detail panel width fixed when sidebar opens */
@media (min-width: 1024px) {
  .dashboard-shell.lock-convo-overlay.sidebar-expanded .dashboard-main,
  .dashboard-shell.lock-convo-overlay.sidebar-collapsed .dashboard-main,
  .dashboard-shell.lock-convo-overlay .dashboard-main {
    padding-left: 5rem !important;
    padding-right: 0 !important;
    transition: none !important;
  }

  .rtl-ready[dir="rtl"] .dashboard-shell.lock-convo-overlay.sidebar-expanded .dashboard-main,
  .rtl-ready[dir="rtl"] .dashboard-shell.lock-convo-overlay.sidebar-collapsed .dashboard-main,
  .rtl-ready[dir="rtl"] .dashboard-shell.lock-convo-overlay .dashboard-main {
    padding-left: 0 !important;
    padding-right: 5rem !important;
  }
}
html:not(.dark) .convo-filter-sidebar .convo-filter-menu {
    padding: .7rem;
    display: block !important;
}

html:not(.dark) .text-violet-200 {
    --tw-text-opacity: 1;
    color: rgb(255 255 255) !important;
}
html:not(.dark) .bg-violet-500\/20 {
    background-color: rgb(139 92 246) !important;
}


html:not(.dark) .bg-slate-950\/45 {
    background-color: rgb(2 6 23) !important;
}
.bg-slate-950\/45 {
    background-color: rgb(2 6 23);
}
html:not(.dark) .bg-cyan-500\/10 {
    background-color: rgb(6 182 212) !important;
}

html:not(.dark) .text-sky-200 {
    --tw-text-opacity: 1;
    color: rgb(255 255 255) !important;
}
html:not(.dark) .bg-sky-500\/20 {
    background-color: rgb(14 165 233) !important;
}
html:not(.dark) .bg-sky-500\/15 {
    background-color: rgb(14 165 233) !important;
}

html:not(.dark) .text-cyan-200 {
    --tw-text-opacity: 1;
    color: rgb(33 36 37) !important;
}
html:not(.dark) .client-dashboard .kpi-plain-card {
    border-radius: 1.1rem;
    border: 1px solid #00000024 !important;
}html:not(.dark) .bg-slate-950\/40 {
    background-color: rgb(231 231 234 / 40%) !important;
}

html:not(.dark) .bg-rose-500\/10 {
    background-color: rgb(241 2 2);
}

html:not(.dark) .from-slate-950 {
    --tw-gradient-from: #020617 var(--tw-gradient-from-position) !important;
    --tw-gradient-to: rgb(2 6 23 / 0) var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}



html:not(.dark) .bg-white {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

html:not(.dark) .bg-amber-500\/10 {
    background-color: rgb(245 158 11) !important;
}

/* Chatbot Builder: Inbox Binding selected state + toast */
.inbox-binding-card.is-selected {
  border-color: #2563eb !important;
  background: #eff6ff !important;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12), 0 8px 20px rgba(2, 6, 23, 0.05);
}

.chatbot-builder-toast {
  animation: chatbotToastIn .22s ease-out;
}

@keyframes chatbotToastIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
rose-500\/40.px-3.py-1.text-xs.text-rose-200 {
    background-color: red !important;
    color: white !important;
}
.convo-filter-sidebar .convo-menu-group {

    display: contents !important;
}
html:not(.dark) .bg-slate-900 {
        background-color: rgb(247 250 254) !important;
}
.bg-rose-500\/15 {
    background-color: rgb(244 63 94) !important;
}
/* Global radius override (requested) */
.dashboard-layout .dashboard-topbar .glass {
  border-radius: 5px !important;
}

[class*="rounded"],
.glass,
.card,
button,
input,
select,
textarea,
.btn {
  border-radius: 5px !important;
}


html:not(.dark) .inbox-binding-checkbox {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #94a3b8;
  border-radius: 6px;
  background: #ffffff;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  position: relative;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

html:not(.dark) .inbox-binding-checkbox:hover {
  border-color: #64748b;
}

html:not(.dark) .inbox-binding-checkbox:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(6, 9, 28, 0.18);
}

html:not(.dark) .inbox-binding-checkbox:checked {
  border-color: #06091c !important;
  background: #06091c !important;
  background-image: none !important;
}

html:not(.dark) .inbox-binding-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

html:not(.dark) .inbox-binding-card.is-selected .inbox-binding-checkbox {
  border-color: #06091c;
}


html:not(.dark) .bg-emerald-500\/10 {
    background-color: rgb(16 185 129) !important;
}


html:not(.dark) button.rounded-full.border.border-indigo-500\/40.px-3.py-1.text-xs.text-indigo-200 {
    background-color: black;
}
.text-emerald-300 {
    --tw-text-opacity: 1;
    color: rgb(255 255 255) !important;
}


/* Professional icon tooltip (campaigns + reusable) */
.ui-tooltip {
  position: relative;
}
.ui-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translate(-50%, 4px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1;
  z-index: 120;
  transition: opacity .16s ease, transform .16s ease;
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, .35);
  box-shadow: 0 10px 30px rgba(2, 6, 23, .35);
}
.ui-tooltip::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(15, 23, 42, .96);
  transition: opacity .16s ease;
  z-index: 121;
}
.ui-tooltip:hover::after,
.ui-tooltip:focus-visible::after,
.ui-tooltip:hover::before,
.ui-tooltip:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0);
}
html:not(.dark) .ui-tooltip::after {
  background: #0f172a;
  color: #ffffff;
  border-color: rgba(148, 163, 184, .42);
}


/* RTL override (keep active indicator on the right edge) */
.rtl-ready[dir="rtl"] .sidebar-link.is-active::before {
  left: auto !important;
  right: -0.5rem !important;
}

.text-sm {
    font-size: 0.975rem !important;
    line-height: 1.25rem;
}
.text-xs {
    font-size: 0.85rem !important;
    line-height: 1rem;
}
/* Arabic-only RTL override requested by user */
.rtl-ready[dir="rtl"] span.inline-flex.items-center.gap-2\.5.flex-row-reverse {
  direction: ltr;
}

.rtl-ready[dir="rtl"] a.sidebar-link-compact.group.rtl-flip.flex.w-full.items-center.gap-3.py-3.rounded-xl {
  direction: ltr;
}


.bg-slate-900\/45 {
    background-color: rgb(232 233 237 / 45%) !important;
}


.text-indigo-200 {
    --tw-text-opacity: 1;
    color: rgb(0 0 0) !important;
}

.flex.items-center.justify-between.gap-3.flex-row-reverse {
    direction: initial;
    text-align: -webkit-match-parent;
}
.flex.items-center.gap-3.flex-row-reverse {
    direction: initial;
    text-align: -webkit-match-parent;
}

/* Marketing Home - Gulf Professional Theme */
.gulf-home {
  --gulf-ink: #111827;
  --gulf-muted: #475569;
  --gulf-panel: #ffffff;
  --gulf-line: #d8e0ec;
  --gulf-primary: #0f4c81;
  --gulf-primary-deep: #0a3558;
  --gulf-accent: #c8a24d;
  --gulf-soft: #f4f7fb;
  color: var(--gulf-ink);
}

.gulf-hero {
  padding-top: 4rem;
  padding-bottom: 1.5rem;
}

.gulf-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 162, 77, 0.45);
  background: linear-gradient(120deg, rgba(200, 162, 77, 0.16), rgba(15, 76, 129, 0.08));
  color: #6b4b13;
  font-size: 0.82rem;
  font-weight: 700;
}

.gulf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.3rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}

.gulf-btn-primary {
  background: linear-gradient(120deg, var(--gulf-primary), var(--gulf-primary-deep));
  color: #ffffff;
}

.gulf-btn-primary:hover {
  color: #ffffff;
  filter: brightness(1.04);
}

.gulf-btn-secondary {
  background: #ffffff;
  border-color: var(--gulf-line);
  color: #1e293b;
}

.gulf-btn-secondary:hover {
  color: #0f172a;
  border-color: #b9c7dc;
  background: #f8fbff;
}

.gulf-btn-white {
  background: #ffffff;
  color: #0f172a;
}

.gulf-hero-card {
  border-radius: 1.25rem;
  padding: 1.25rem;
  background: linear-gradient(165deg, #ffffff, #f6f9fe);
  border: 1px solid var(--gulf-line);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.gulf-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.gulf-stat-item {
  border: 1px solid var(--gulf-line);
  border-radius: 0.95rem;
  padding: 0.8rem;
  background: #ffffff;
}

.gulf-stat-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gulf-primary-deep);
}

.gulf-stat-label {
  font-size: 0.78rem;
  color: var(--gulf-muted);
  margin-top: 0.25rem;
}

.gulf-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gulf-service-card {
  border-radius: 1.1rem;
  border: 1px solid var(--gulf-line);
  background: var(--gulf-panel);
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gulf-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.09);
}

.gulf-integration {
  border-radius: 1.2rem;
  border: 1px solid var(--gulf-line);
  background: linear-gradient(145deg, #ffffff, #f4f7fb);
  padding: 1.4rem;
}

.gulf-point {
  list-style: none;
  position: relative;
  padding-inline-start: 1.35rem;
}

.gulf-point::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.43rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--gulf-accent);
}

.gulf-cta {
  border-radius: 1.2rem;
  padding: 1.5rem;
  background: linear-gradient(120deg, #0f4c81, #1f6aa7);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 1023px) {
  .gulf-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gulf-hero {
    padding-top: 2.5rem;
  }

  .gulf-stat-grid {
    grid-template-columns: 1fr;
  }

  .gulf-service-grid {
    grid-template-columns: 1fr;
  }

  .gulf-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
.gulf-service-card-detailed {
  min-height: 280px;
}

.gulf-service-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.gulf-service-points li {
  position: relative;
  padding-inline-start: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #334155;
}

.gulf-service-points li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.65rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #0f4c81;
}

@media (max-width: 767px) {
  .gulf-service-card-detailed {
    min-height: auto;
  }

  .gulf-service-points li {
    font-size: 0.88rem;
  }
}
/* Home revamp: icons + section visuals + premium GCC polish */
.gulf-home {
  background:
    radial-gradient(900px 360px at 90% -10%, rgba(15, 76, 129, 0.12), transparent 70%),
    radial-gradient(700px 280px at 10% -5%, rgba(200, 162, 77, 0.14), transparent 65%);
}

.gulf-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
}

.gulf-hero-media {
  border-radius: 1.3rem;
  padding: 0.75rem;
  border: 1px solid #d9e1ed;
  background: linear-gradient(160deg, #ffffff, #f3f7fd);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.gulf-hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 726 / 663;
  overflow: hidden;
  border-radius: 1rem;
}

.gulf-hero-illustration {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.gulf-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
}

.gulf-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.gulf-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(15, 76, 129, 0.28);
  background: rgba(255, 255, 255, 0.92);
  color: #0f4c81;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
  z-index: 2;
  transition: transform .2s ease, background-color .2s ease;
}

.gulf-hero-nav:hover {
  transform: translateY(-50%) scale(1.05);
  background: #ffffff;
}

.gulf-hero-nav svg {
  width: 18px;
  height: 18px;
}

.gulf-hero-prev { left: .7rem; }
.gulf-hero-next { right: .7rem; }

.gulf-hero-dots {
  position: absolute;
  inset-inline: 0;
  bottom: .8rem;
  display: flex;
  justify-content: center;
  gap: .45rem;
  z-index: 2;
}

.gulf-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.85);
  background: rgba(15, 76, 129, 0.35);
  transition: all .2s ease;
}

.gulf-hero-dot.is-active {
  width: 24px;
  background: #0f4c81;
  border-color: #0f4c81;
}


@media (max-width: 640px) {
  .gulf-hero-nav {
    width: 34px;
    height: 34px;
  }

  .gulf-hero-nav svg {
    width: 16px;
    height: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gulf-hero-slide,
  .gulf-hero-nav,
  .gulf-hero-dot {
    transition: none;
  }
}

.gulf-visual-strip {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.gulf-visual-card {
  border-radius: 1rem;
  border: 1px solid #d7e1ef;
  background: linear-gradient(170deg, #ffffff, #f5f8fc);
  padding: 1rem;
}

.gulf-visual-card h3 {
  font-size: 1.02rem;
  color: #0b2842;
}

.gulf-visual-card p {
  margin-top: 0.5rem;
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.6;
}

.gulf-service-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.gulf-service-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0f4c81, #1f6aa7);
  flex-shrink: 0;
}

.gulf-service-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: #ffffff;
}

.gulf-logo-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.gulf-logo-row img {
  width: 100%;
  height: 58px;
  object-fit: contain;
  border-radius: 0.8rem;
  border: 1px solid #dbe4f1;
  background: #ffffff;
  padding: 0.75rem;
}

@media (max-width: 1023px) {
  .gulf-hero-grid {
    grid-template-columns: 1fr;
  }

  .gulf-visual-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gulf-logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gulf-visual-strip {
    grid-template-columns: 1fr;
  }
}
/* Home sections: reviews, faq, partners, newsletter */
.gulf-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gulf-review-shell,
.gulf-faq-shell,
.gulf-partners-shell,
.gulf-newsletter-shell {
  border-radius: 1.25rem;
  border: 1px solid #d8e3f1;
  background: linear-gradient(165deg, #ffffff, #f4f8fd);
  padding: 1.25rem;
}

.gulf-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.gulf-review-card {
  border-radius: 1rem;
  border: 1px solid #dbe5f1;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.gulf-stars {
  color: #c8a24d;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.gulf-review-text {
  margin-top: 0.6rem;
  color: #334155;
  line-height: 1.8;
  font-size: 0.92rem;
}

.gulf-review-name {
  margin-top: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.gulf-review-role {
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: #64748b;
}

.gulf-faq-list {
  display: grid;
  gap: 0.7rem;
}

.gulf-faq-item {
  border: 1px solid #d7e2ef;
  border-radius: 0.9rem;
  background: #ffffff;
}

.gulf-faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  border: 0;
  background: transparent;
  padding: 0.95rem 1rem;
  font-weight: 700;
  color: #0f172a;
  text-align: start;
  cursor: pointer;
}

.gulf-faq-plus {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #edf2fb;
  color: #0f4c81;
  font-weight: 700;
}

.gulf-faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.gulf-faq-panel p {
  padding: 0 1rem 1rem;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.75;
}

.gulf-partners-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.gulf-partner-card {
  border-radius: 0.9rem;
  border: 1px solid #dbe5f1;
  background: #ffffff;
  padding: 0.75rem;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gulf-partner-card img {
  width: 100%;
  height: 46px;
  object-fit: contain;
}

.gulf-newsletter-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: center;
}

.gulf-newsletter-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.gulf-newsletter-form input {
  flex: 1;
  min-width: 220px;
  border: 1px solid #c8d5e8;
  border-radius: 999px;
  padding: 0.72rem 0.95rem;
  background: #ffffff;
}

.gulf-newsletter-form button {
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  background: linear-gradient(120deg, #0f4c81, #1f6aa7);
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 1023px) {
  .gulf-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gulf-partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gulf-newsletter-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .gulf-review-grid {
    grid-template-columns: 1fr;
  }

  .gulf-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Channel icons pills in conversations module */
.gulf-channel-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.gulf-channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #d4dceb;
  background: #f8fbff;
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 600;
}

.gulf-channel-icon {
  width: 1rem;
  height: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gulf-channel-icon svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.channel-facebook { color: #1877f2; }
.channel-instagram { color: #d62976; }
.channel-tiktok { color: #111827; }
.channel-whatsapp { color: #25d366; }
.channel-website { color: #0f4c81; }
.channel-telegram { color: #229ed9; }
.channel-line { color: #00b900; }
/* Header icon controls (language + theme) */
.topbar-icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #0f4c81;
  text-decoration: none;
}

.topbar-icon-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}
ai-agent-edit-page .ai-agent-edit-form > label > span, .ai-agent-edit-page .ai-agent-edit-form > .grid label > span {
    color: var(--ai-muted) !important;
    font-weight: 600;
    font-size: 17px !important;
}
.topbar-icon-btn.is-ar::after,
.topbar-icon-btn.is-en::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  right: 0.25rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 2px #ffffff;
}
button#startLiveTestBtn {
    background-color: #2563eb !important;
}
.theme-icon-sun {
  display: none;
}

.dark .theme-icon-sun {
  display: inline;
}

.dark .theme-icon-moon {
  display: none;
}

/* Dark mode polish for marketing pages */
.dark .gulf-home,
.dark .gulf-home h1,
.dark .gulf-home h2,
.dark .gulf-home h3,
.dark .gulf-home p {
  color: #e2e8f0;
}

.dark .gulf-kicker {
  color: #fde68a;
  border-color: rgba(250, 204, 21, 0.42);
  background: linear-gradient(120deg, rgba(250, 204, 21, 0.18), rgba(56, 189, 248, 0.12));
}

.dark .gulf-hero-media,
.dark .gulf-visual-card,
.dark .gulf-service-card,
.dark .gulf-integration,
.dark .gulf-review-shell,
.dark .gulf-faq-shell,
.dark .gulf-partners-shell,
.dark .gulf-newsletter-shell,
.dark .gulf-review-card,
.dark .gulf-faq-item,
.dark .gulf-partner-card,
.dark .gulf-logo-row img {
  background: rgba(15, 23, 42, 0.86);
  border-color: rgba(148, 163, 184, 0.24);
  color: #e2e8f0;
}

.dark .gulf-review-text,
.dark .gulf-review-role,
.dark .gulf-faq-panel p,
.dark .gulf-visual-card p,
.dark .gulf-service-points li,
.dark .gulf-stat-label,
.dark .text-slate-600,
.dark .text-slate-700,
.dark .text-slate-500 {
  color: #cbd5e1 !important;
}

.dark .gulf-faq-plus {
  background: rgba(30, 41, 59, 0.95);
  color: #7dd3fc;
}

.dark .gulf-channel-pill {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(148, 163, 184, 0.35);
  color: #e2e8f0;
}

.dark .topbar-icon-btn {
  color: #7dd3fc;
  border-color: rgba(125, 211, 252, 0.45);
}

.dark .topbar-icon-btn.is-ar::after,
.dark .topbar-icon-btn.is-en::after {
  box-shadow: 0 0 0 2px #0b1120;
}
/* FAQ + Contact premium sections */
.faq-shell,
.contact-shell {
  border-radius: 1.2rem;
}

.faq-grid {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid #dbe5f2;
  border-radius: 0.95rem;
  background: #ffffff;
}

.faq-button {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  font-weight: 700;
  color: #0f172a;
  text-align: start;
  cursor: pointer;
}

.faq-plus {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff4fb;
  color: #0f4c81;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-panel p {
  padding: 0 1.1rem 1rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.75;
}

.faq-cta-shell {
  margin-bottom: 0.5rem;
}

.faq-cta {
  border-radius: 1.1rem;
  padding: 1.25rem;
  background: linear-gradient(120deg, #0f4c81, #1f6aa7);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.contact-form-card,
.contact-info-card,
.contact-locations-card {
  border-radius: 1rem;
  border: 1px solid #dbe5f2;
  background: #ffffff;
  padding: 1rem;
}

.contact-form-card {
  display: grid;
  gap: 0.8rem;
}

.contact-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.contact-input {
  width: 100%;
  border: 1px solid #cdd9ea;
  border-radius: 0.85rem;
  padding: 0.72rem 0.9rem;
  background: #ffffff;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-submit {
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  background: linear-gradient(120deg, #0f4c81, #1f6aa7);
  color: #ffffff;
  font-weight: 700;
}

.contact-note {
  font-size: 0.8rem;
  color: #64748b;
}

.contact-label {
  font-size: 0.82rem;
  color: #64748b;
}

.contact-value {
  margin-top: 0.3rem;
  font-weight: 700;
  color: #0f172a;
}

.contact-links {
  margin-top: 0.4rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.contact-location-item + .contact-location-item {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid #e2e8f0;
}

.contact-location-item h3 {
  font-weight: 700;
  color: #0f172a;
}

.contact-location-item h3 span {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

.contact-location-item p {
  margin-top: 0.25rem;
  font-size: 0.88rem;
  color: #475569;
}

.dark .marketing-body .faq-item,
.dark .marketing-body .contact-form-card,
.dark .marketing-body .contact-info-card,
.dark .marketing-body .contact-locations-card {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.28);
}

.dark .marketing-body .faq-button,
.dark .marketing-body .contact-value,
.dark .marketing-body .contact-location-item h3 {
  color: #e2e8f0;
}

.dark .marketing-body .faq-plus {
  background: rgba(30, 41, 59, 0.95);
  color: #7dd3fc;
}

.dark .marketing-body .faq-panel p,
.dark .marketing-body .contact-note,
.dark .marketing-body .contact-label,
.dark .marketing-body .contact-location-item h3 span,
.dark .marketing-body .contact-location-item p {
  color: #cbd5e1;
}

.dark .marketing-body .contact-input {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.3);
  color: #e2e8f0;
}

.dark .marketing-body .contact-input::placeholder {
  color: #94a3b8;
}

@media (max-width: 767px) {
  .contact-field-grid {
    grid-template-columns: 1fr;
  }

  .faq-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Services pages */
.services-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.service-index-card {
  border-radius: 1rem;
  border: 1px solid #dbe5f2;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.service-index-link,
.gulf-service-link {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  border: 1px solid #c8d7ec;
  background: #f8fbff;
  color: #0f4c81;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.service-kicker {
  display: inline-flex;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 162, 77, 0.45);
  background: rgba(200, 162, 77, 0.13);
  color: #6b4b13;
  font-size: 0.8rem;
  font-weight: 700;
}

.service-benefits-shell {
  border-radius: 1.1rem;
  border: 1px solid #dbe5f2;
  background: #ffffff;
  padding: 1rem;
}

.service-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.service-benefit-item {
  border: 1px solid #dbe5f2;
  border-radius: 0.85rem;
  padding: 0.75rem;
  background: #f8fbff;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.service-check {
  color: #16a34a;
  font-weight: 700;
}

.service-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.service-proof-card {
  border-radius: 0.95rem;
  border: 1px solid #dbe5f2;
  background: #ffffff;
  padding: 1rem;
}

.service-proof-card h3 {
  font-weight: 700;
  color: #0f172a;
}

.service-proof-card p {
  margin-top: 0.45rem;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.7;
}

.dark .marketing-body .service-index-card,
.dark .marketing-body .service-benefits-shell,
.dark .marketing-body .service-benefit-item,
.dark .marketing-body .service-proof-card {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.28);
}

.dark .marketing-body .service-proof-card h3,
.dark .marketing-body .service-benefit-item p,
.dark .marketing-body .service-proof-card p,
.dark .marketing-body .service-kicker {
  color: #e2e8f0;
}

.dark .marketing-body .service-index-link,
.dark .marketing-body .gulf-service-link {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(148, 163, 184, 0.32);
  color: #7dd3fc;
}

@media (max-width: 1023px) {
  .services-index-grid,
  .service-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .services-index-grid,
  .service-benefits-grid,
  .service-proof {
    grid-template-columns: 1fr;
  }
}
/* Pricing page enhancements */
.pricing-plan-grid {
  align-items: stretch;
}

.pricing-plan-card {
  border-radius: 1rem;
  border: 1px solid #dbe5f2;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.pricing-plan-card-highlight {
  border-color: rgba(15, 76, 129, 0.45);
  box-shadow: 0 16px 28px rgba(15, 76, 129, 0.12);
}

.pricing-plan-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.pricing-plan-features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: #334155;
}

.pricing-icon {
  width: 2.05rem;
  height: 2.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f4c81;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(15, 76, 129, 0.14), rgba(15, 76, 129, 0.06));
  border: 1px solid rgba(15, 76, 129, 0.25);
  box-shadow: 0 8px 18px rgba(15, 76, 129, 0.12);
  flex: 0 0 2.05rem;
}

.pricing-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.pricing-comparison-table table td,
.pricing-comparison-table table th {
  vertical-align: top;
}

.pricing-feature-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 12rem;
}

.pricing-feature-icon {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  color: #0f4c81;
  border-radius: 999px;
  background: linear-gradient(150deg, rgba(15, 76, 129, 0.13), rgba(15, 76, 129, 0.05));
  border: 1px solid rgba(15, 76, 129, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pricing-feature-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.pricing-comparison-table td {
  white-space: normal;
  min-width: 12rem;
  line-height: 1.55;
}

.pricing-comparison-table th:first-child,
.pricing-comparison-table td:first-child {
  min-width: 14rem;
}

.dark .pricing-plan-card,
.dark .pricing-comparison-table {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.28);
}

.dark .pricing-plan-features li,
.dark .pricing-comparison-table td,
.dark .pricing-comparison-table th,
.dark .pricing-comparison-table .text-slate-500 {
  color: #cbd5e1 !important;
}

.dark .pricing-icon,
.dark .pricing-feature-icon {
  color: #7dd3fc;
  background: linear-gradient(150deg, rgba(125, 211, 252, 0.18), rgba(15, 23, 42, 0.45));
  border-color: rgba(125, 211, 252, 0.35);
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.45);
}

/* Auth pages refresh */
.auth-shell {
  position: relative;
}

.auth-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.auth-showcase {
  border: 1px solid #d6e1ef;
  border-radius: 1.5rem;
  background: linear-gradient(145deg, #0f4c81, #0a3558 60%, #08263f);
  color: #e7eef8;
  padding: 2rem;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(8, 38, 63, 0.28);
}

.auth-showcase h1 {
  margin: 0;
  font-size: clamp(1.9rem, 1.6rem + 1vw, 2.7rem);
  line-height: 1.15;
  font-weight: 700;
}

.auth-showcase p {
  margin: 0.85rem 0 0;
  color: #d2deed;
  line-height: 1.75;
}

.auth-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(200, 162, 77, 0.2);
  border: 1px solid rgba(200, 162, 77, 0.5);
  color: #f5e8c6;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.auth-feature-list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.auth-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #e4edf8;
  line-height: 1.6;
}

.auth-feature-icon {
  width: 1.2rem;
  height: 1.2rem;
  color: #f5d48a;
  flex: 0 0 1.2rem;
  margin-top: 0.2rem;
}

.auth-feature-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.auth-panel-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 34rem;
  border-radius: 1.5rem;
  border: 1px solid #d8e2f0;
  padding: 1.6rem;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.auth-card-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 1.35rem + 0.7vw, 2rem);
  font-weight: 700;
  color: #0f172a;
}

.auth-card-head p {
  margin: 0.55rem 0 0;
  color: #475569;
}

.auth-form {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.85rem;
}

.auth-field label {
  display: block;
  font-size: 0.83rem;
  color: #334155;
  margin-bottom: 0.35rem;
}

.auth-input {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  padding: 0.78rem 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus {
  outline: none;
  border-color: #0f4c81;
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.15);
}

.auth-input::placeholder {
  color: #94a3b8;
}

.auth-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #475569;
}

.auth-primary-btn,
.auth-secondary-btn {
  width: 100%;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-primary-btn {
  border: 1px solid transparent;
  color: #ffffff;
  background: linear-gradient(120deg, #0f4c81, #0a3558);
  box-shadow: 0 10px 20px rgba(10, 53, 88, 0.2);
}

.auth-primary-btn:hover {
  transform: translateY(-1px);
}

.auth-secondary-btn {
  border: 1px solid #d2deec;
  color: #1f2937;
  background: #ffffff;
}

.auth-link {
  color: #0f4c81;
  text-decoration: none;
  font-weight: 600;
}

.auth-link:hover {
  color: #0a3558;
}

.auth-error {
  font-size: 0.76rem;
  color: #e11d48;
  margin-top: 0.3rem;
}

.auth-alert-success,
.auth-alert-danger {
  margin-top: 0.95rem;
  border-radius: 0.9rem;
  padding: 0.68rem 0.82rem;
  font-size: 0.82rem;
}

.auth-alert-success {
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
}

.auth-alert-danger {
  border: 1px solid rgba(225, 29, 72, 0.35);
  background: rgba(225, 29, 72, 0.1);
  color: #be123c;
}

.auth-footnote {
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.9rem;
}

@media (min-width: 1024px) {
  .auth-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.4rem;
  }

  .auth-card {
    padding: 1.9rem;
  }
}

.dark .auth-showcase {
  border-color: rgba(148, 163, 184, 0.3);
  box-shadow: 0 22px 42px rgba(2, 6, 23, 0.52);
}

.dark .auth-card {
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.86);
}

.dark .auth-card-head h2,
.dark .auth-field label,
.dark .auth-check,
.dark .auth-footnote {
  color: #dbe8f6;
}

.dark .auth-card-head p {
  color: #a8bdd6;
}

.dark .auth-input {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
}

.dark .auth-input::placeholder {
  color: #94a3b8;
}

.dark .auth-secondary-btn {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
  color: #dbeafe;
}

.dark .auth-link {
  color: #93c5fd;
}

.dark .auth-link:hover {
  color: #bfdbfe;
}

.rtl-ready[dir="rtl"] .auth-meta-row {
  flex-direction: row-reverse;
}


.pricing-head-row th {
  position: sticky;
  top: 0;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(6px);
}

.pricing-col-head {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
}

.pricing-col-icon {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f4c81;
  background: linear-gradient(150deg, rgba(15, 76, 129, 0.14), rgba(15, 76, 129, 0.05));
  border: 1px solid rgba(15, 76, 129, 0.28);
}

.pricing-col-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.pricing-comparison-table tbody tr {
  transition: background-color 0.2s ease;
}

.pricing-comparison-table tbody tr:hover {
  background: rgba(15, 76, 129, 0.05);
}

.pricing-channel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.pricing-channel-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  border: 1px solid #d7e1ef;
  background: #ffffff;
  font-size: 0.73rem;
  line-height: 1;
  color: #1f2937;
}

.pricing-channel-dot {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
}

.pricing-channel-dot svg {
  width: 0.68rem;
  height: 0.68rem;
  fill: currentColor;
}

.pricing-channel-dot.channel-whatsapp { background: #25D366; }
.pricing-channel-dot.channel-facebook { background: #1877F2; }
.pricing-channel-dot.channel-instagram { background: #C13584; }
.pricing-channel-dot.channel-tiktok { background: #111827; }
.pricing-channel-dot.channel-website { background: #0f4c81; }
.pricing-channel-dot.channel-telegram { background: #229ED9; }
.pricing-channel-dot.channel-line { background: #06C755; }

.dark .pricing-head-row th {
  background: rgba(15, 23, 42, 0.9);
}

.dark .pricing-col-icon {
  color: #7dd3fc;
  background: linear-gradient(150deg, rgba(125, 211, 252, 0.18), rgba(15, 23, 42, 0.45));
  border-color: rgba(125, 211, 252, 0.35);
}

.dark .pricing-comparison-table tbody tr:hover {
  background: rgba(125, 211, 252, 0.08);
}

.dark .pricing-channel-chip {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
}

.pricing-plan-head {
  display: flex;
  align-items: center;
  gap: 0.72rem;
}

.pricing-plan-title {
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}

.pricing-plan-glyph {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 76, 129, 0.25);
  background: linear-gradient(145deg, rgba(15, 76, 129, 0.18), rgba(15, 76, 129, 0.05));
  color: #0f4c81;
  box-shadow: 0 12px 24px rgba(15, 76, 129, 0.16);
  transform: translateY(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: pricingGlyphFloat 4.6s ease-in-out infinite;
}

.pricing-plan-glyph svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: currentColor;
}

.pricing-plan-glyph-starter {
  background: linear-gradient(145deg, rgba(14, 116, 144, 0.2), rgba(14, 116, 144, 0.06));
  color: #0e7490;
  border-color: rgba(14, 116, 144, 0.28);
}

.pricing-plan-glyph-growth {
  background: linear-gradient(145deg, rgba(15, 76, 129, 0.24), rgba(15, 76, 129, 0.08));
  color: #0f4c81;
  border-color: rgba(15, 76, 129, 0.34);
}

.pricing-plan-glyph-enterprise {
  background: linear-gradient(145deg, rgba(167, 120, 24, 0.25), rgba(167, 120, 24, 0.08));
  color: #9a6b12;
  border-color: rgba(154, 107, 18, 0.35);
}

.pricing-plan-card:hover .pricing-plan-glyph {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 28px rgba(15, 76, 129, 0.22);
}

.pricing-plan-card:hover .pricing-icon {
  transform: translateY(-1px) scale(1.05);
}

@keyframes pricingGlyphFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
  100% { transform: translateY(0px); }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-plan-glyph {
    animation: none;
  }
}

.dark .pricing-plan-title {
  color: #e2e8f0;
}

.dark .pricing-plan-glyph {
  color: #93c5fd;
  border-color: rgba(125, 211, 252, 0.36);
  background: linear-gradient(150deg, rgba(125, 211, 252, 0.2), rgba(15, 23, 42, 0.45));
  box-shadow: 0 14px 26px rgba(2, 6, 23, 0.48);
}

.dark .pricing-plan-glyph-enterprise {
  color: #fcd34d;
  border-color: rgba(252, 211, 77, 0.42);
  background: linear-gradient(150deg, rgba(252, 211, 77, 0.22), rgba(15, 23, 42, 0.5));
}

/* Feature comparison separators */
.pricing-comparison-table table {
  border-collapse: separate;
  border-spacing: 0;
}

.pricing-comparison-table th,
.pricing-comparison-table td {
  border-bottom: 1px solid rgba(100, 116, 139, 0.42);
}

.pricing-comparison-table th + th,
.pricing-comparison-table td + td {
  border-inline-start: 1px solid rgba(100, 116, 139, 0.42);
  padding-inline-start: 1rem;
}

.pricing-comparison-table thead th {
  border-bottom: 2px solid rgba(100, 116, 139, 0.52);
}

.pricing-comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.dark .pricing-comparison-table th,
.dark .pricing-comparison-table td {
  border-bottom-color: rgba(148, 163, 184, 0.46);
}

.dark .pricing-comparison-table th + th,
.dark .pricing-comparison-table td + td {
  border-inline-start-color: rgba(148, 163, 184, 0.46);
}


/* Auth split-panel enhancements */
.auth-layout {
  min-height: min(860px, calc(100vh - 5rem));
}

.auth-showcase {
  position: relative;
  overflow: hidden;
  padding: 2.1rem;
  background:
    radial-gradient(500px 200px at 10% 0%, rgba(14, 165, 233, 0.26), transparent 70%),
    radial-gradient(380px 180px at 100% 100%, rgba(245, 158, 11, 0.2), transparent 72%),
    linear-gradient(145deg, #0f4c81, #0a3558 62%, #08263f);
}

.auth-showcase-media {
  margin-top: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(203, 225, 245, 0.45);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.28);
  overflow: hidden;
}

.auth-showcase-media img {
  width: 100%;
  height: auto;
  display: block;
}

.auth-showcase-badges {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.auth-showcase-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(219, 234, 254, 0.36);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  padding: 0.55rem 0.65rem;
}

.auth-showcase-badge-icon {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.6rem;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.7rem;
}

.auth-showcase-badge-icon svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

.auth-showcase-badge strong {
  display: block;
  font-size: 0.82rem;
  color: #f8fbff;
}

.auth-showcase-badge span {
  display: block;
  font-size: 0.74rem;
  color: #d7e6f8;
}

.auth-feature-list {
  margin-top: 1rem;
}

@media (min-width: 1024px) {
  .auth-layout {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.dark .auth-showcase {
  background:
    radial-gradient(500px 220px at 10% 0%, rgba(56, 189, 248, 0.22), transparent 72%),
    radial-gradient(420px 220px at 100% 100%, rgba(245, 158, 11, 0.16), transparent 72%),
    linear-gradient(145deg, #0f2a45, #081d32 68%, #04111f);
  border-color: rgba(148, 163, 184, 0.4);
}

.dark .auth-showcase-media {
  border-color: rgba(125, 211, 252, 0.28);
  background: rgba(15, 23, 42, 0.42);
}

.dark .auth-showcase-badge {
  border-color: rgba(125, 211, 252, 0.28);
  background: rgba(15, 23, 42, 0.36);
}

/* Auth full-screen (no page scroll on desktop) */
.auth-shell {
  min-height: 100vh;
  padding: 1rem;
}

@media (min-width: 1024px) {
  html,
  body {
    height: 100%;
  }

  body.auth-page {
    overflow: auto;
  }

  .auth-shell {
    min-height: 100vh;
    height: auto;
    padding: 1rem;
  }

  .auth-layout {
    min-height: calc(100vh - 2rem);
    height: auto;
    max-height: none;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .auth-showcase {
    height: auto;
    max-height: none;
  }

  .auth-panel-wrap {
    align-items: stretch;
  }

  .auth-card {
    height: auto;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
  }

  .auth-showcase {
    padding: 1.2rem;
  }

  .auth-showcase h1 {
    font-size: clamp(1.45rem, 1.2rem + 0.7vw, 1.9rem);
  }

  .auth-showcase p {
    margin-top: 0.4rem;
    line-height: 1.45;
  }

  .auth-showcase-media {
    margin-top: 0.55rem;
  }

  .auth-showcase-badges {
    margin-top: 0.55rem;
    gap: 0.42rem;
  }

  .auth-showcase-badge {
    padding: 0.45rem 0.52rem;
  }

  .auth-showcase-badge strong {
    font-size: 0.78rem;
  }

  .auth-showcase-badge span {
    font-size: 0.7rem;
  }

  .auth-feature-list {
    margin-top: 0.5rem;
    gap: 0.45rem;
  }

  .auth-feature-list li {
    line-height: 1.35;
    font-size: 0.84rem;
  }

  .auth-card {
    padding: 1.1rem;
  }

  .auth-card-head h2 {
    font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  }

  .auth-card-head p {
    margin-top: 0.3rem;
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .auth-form {
    margin-top: 0.72rem;
    gap: 0.52rem;
  }

  .auth-field label {
    margin-bottom: 0.24rem;
    font-size: 0.77rem;
  }

  .auth-input {
    padding: 0.56rem 0.72rem;
    font-size: 0.86rem;
  }

  .auth-primary-btn,
  .auth-secondary-btn {
    padding: 0.58rem 0.9rem;
    font-size: 0.88rem;
  }

  .auth-footnote {
    margin-top: 0.5rem;
    font-size: 0.8rem;
  }
}

.auth-otp-input {
  letter-spacing: 0.35em;
  text-align: center;
  font-weight: 700;
}


.auth-feature-status-card {
  margin-top: 0.95rem;
  border: 1px solid #d7e2f0;
  border-radius: 0.95rem;
  background: linear-gradient(160deg, #f8fbff, #f2f8ff);
  padding: 0.7rem;
}

.auth-feature-status-title {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f4c81;
}

.auth-feature-status-list {
  display: grid;
  gap: 0.45rem;
}

.auth-feature-status-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #d6e2f0;
  background: #ffffff;
  border-radius: 0.7rem;
  padding: 0.42rem 0.55rem;
}

.auth-feature-status-icon {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f4c81;
  background: rgba(15, 76, 129, 0.12);
}

.auth-feature-status-icon svg {
  width: 0.92rem;
  height: 0.92rem;
  fill: currentColor;
}

.auth-feature-status-label {
  font-size: 0.78rem;
  color: #334155;
}

.auth-feature-status-badge {
  border-radius: 999px;
  padding: 0.16rem 0.52rem;
  font-size: 0.71rem;
  font-weight: 700;
}

.auth-feature-status-item.is-enabled .auth-feature-status-badge {
  color: #047857;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.34);
}

.auth-feature-status-item.is-disabled .auth-feature-status-badge {
  color: #b45309;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.34);
}

.auth-link-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  text-decoration: none;
}

.dark .auth-feature-status-card {
  border-color: rgba(148, 163, 184, 0.35);
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.82), rgba(2, 6, 23, 0.92));
}

.dark .auth-feature-status-title {
  color: #93c5fd;
}

.dark .auth-feature-status-item {
  border-color: rgba(148, 163, 184, 0.26);
  background: rgba(15, 23, 42, 0.74);
}

.dark .auth-feature-status-icon {
  color: #7dd3fc;
  background: rgba(125, 211, 252, 0.14);
}

.dark .auth-feature-status-label {
  color: #cbd5e1;
}

button.rounded-lg.bg-slate-900.px-4.py-2.text-sm.font-medium.text-white {
    background-color: #347ee7 !important;
}
.text-left {
    text-align: justify !important;
}
button.px-3.py-1.rounded-full.bg-cyan-600\/20.border.border-cyan-500\/40.text-cyan-200.text-xs {
    background-color: #50fc89;
}

.chatbot-floating-toggles {
  position: fixed;
  inset-inline-end: 1rem; /* يمين في LTR ويسار في RTL */
  bottom: 1rem;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}


/* Fallback for browsers that do not fully support logical inset properties */
.rtl-ready[dir="rtl"] .chatbot-floating-toggles,
html[dir="rtl"] .chatbot-floating-toggles,
body[dir="rtl"] .chatbot-floating-toggles {
  left: 1rem;
  right: auto;
}

.rtl-ready:not([dir="rtl"]) .chatbot-floating-toggles,
html:not([dir="rtl"]) .chatbot-floating-toggles,
body:not([dir="rtl"]) .chatbot-floating-toggles {
  right: 1rem;
  left: auto;
}

/* Settings UX polish */
.settings-alert {
  border-radius: 1rem;
  border: 1px solid;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.45);
}

.settings-alert--success {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
  color: rgb(6, 95, 70);
}

.settings-alert--error {
  border-color: rgba(244, 63, 94, 0.35);
  background: rgba(244, 63, 94, 0.08);
  color: rgb(159, 18, 57);
}

.dark .settings-alert--success {
  color: rgb(110, 231, 183);
}

.dark .settings-alert--error {
  color: rgb(254, 205, 211);
}

.settings-sidebar__nav a {
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .settings-sidebar__nav {
    overflow: visible;
  }

  .settings-sidebar__nav a {
    min-width: 0;
    white-space: normal;
    word-break: break-word;
  }
}

.settings-panel :is(.glass.rounded-2xl, .rounded-2xl.border, .rounded-3xl.border) {
  border-color: rgba(148, 163, 184, 0.25);
  box-shadow: 0 16px 40px -32px rgba(15, 23, 42, 0.5);
}

.settings-skeleton > div {
  position: relative;
  overflow: hidden;
}

.settings-skeleton > div::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.58) 35%, transparent 100%);
  animation: settings-shimmer 1.25s infinite;
}

.dark .settings-skeleton > div::after {
  background: linear-gradient(90deg, transparent 0%, rgba(148, 163, 184, 0.16) 35%, transparent 100%);
}

@keyframes settings-shimmer {
  to {
    transform: translateX(100%);
  }
}

.bg-\[\#1f2c34\] {
    --tw-bg-opacity: 1;
    background-color: beige !important;
}

/* Register 2026 refresh (scoped) */
.register-modern-2026 {
  position: relative;
  isolation: isolate;
}

.register-modern-2026::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(14, 165, 233, 0.14), transparent 70%),
    radial-gradient(740px 360px at 100% 100%, rgba(245, 158, 11, 0.12), transparent 72%);
}

.register-modern-2026 .auth-layout {
  gap: 1.35rem;
}

.register-modern-2026 .auth-showcase {
  border-radius: 1.65rem;
  border-color: rgba(186, 215, 245, 0.56);
  box-shadow: 0 28px 50px rgba(8, 38, 63, 0.32);
}

.register-modern-2026 .auth-card {
  max-width: 38rem;
  border-radius: 1.65rem;
  border-color: rgba(148, 163, 184, 0.28);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.9));
  box-shadow: 0 26px 58px -40px rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(6px);
}

.register-modern-2026 .auth-card-head h2 {
  font-size: clamp(1.55rem, 1.35rem + 0.8vw, 2.1rem);
  letter-spacing: -0.01em;
}

.register-modern-2026 .auth-card-head p {
  font-size: 0.92rem;
  color: #334155;
}

.register-modern-2026 .auth-form {
  gap: 0.95rem;
}

.register-modern-2026 .auth-field label {
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #334155;
}

.register-modern-2026 .auth-input {
  border: 1px solid rgba(148, 163, 184, 0.42);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 0.88rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.register-modern-2026 .auth-input:focus {
  border-color: rgba(14, 165, 233, 0.72);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.14);
  outline: none;
  background: rgba(255, 255, 255, 0.98);
}

.register-modern-2026 .auth-primary-btn,
.register-modern-2026 .auth-secondary-btn {
  border-radius: 0.95rem;
}

.register-modern-2026 .auth-primary-btn {
  box-shadow: 0 16px 28px -18px rgba(14, 116, 144, 0.6);
}

.register-modern-2026 .auth-check {
  margin-top: 0.15rem;
}

.dark .register-modern-2026 .auth-card {
  border-color: rgba(71, 85, 105, 0.5);
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.9));
  box-shadow: 0 28px 60px -42px rgba(0, 0, 0, 0.85);
}

.dark .register-modern-2026 .auth-card-head p,
.dark .register-modern-2026 .auth-field label {
  color: #cbd5e1;
}

.dark .register-modern-2026 .auth-input {
  border-color: rgba(100, 116, 139, 0.5);
  background: rgba(15, 23, 42, 0.78);
  color: #e2e8f0;
}

.dark .register-modern-2026 .auth-input:focus {
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  background: rgba(15, 23, 42, 0.95);
}

@media (min-width: 1024px) {
  .register-modern-2026 .auth-layout {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 1.15rem;
  }

  .register-modern-2026 .auth-card {
    padding: 1.35rem;
  }
}

@media (max-width: 1023px) {
  .register-modern-2026 .auth-shell,
  .register-modern-2026 {
    padding-top: 0.7rem;
  }

  .register-modern-2026 .auth-card {
    max-width: 100%;
    padding: 1.1rem;
  }

  .register-modern-2026 .auth-form {
    gap: 0.78rem;
  }
}

/* Register split-screen without scroll (desktop/laptop) */
@media (min-width: 1024px) {
  .register-modern-2026.auth-shell {
    height: 100vh;
    min-height: 100vh;
    padding: 0.75rem 0.95rem;
    overflow: hidden;
  }

  .register-modern-2026 .auth-layout {
    height: calc(100vh - 1.5rem);
    min-height: calc(100vh - 1.5rem);
    max-height: calc(100vh - 1.5rem);
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    align-items: stretch;
  }

  .register-modern-2026 .auth-showcase,
  .register-modern-2026 .auth-card {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
  }

  .register-modern-2026 .auth-panel-wrap {
    align-items: stretch;
  }

  .register-modern-2026 .auth-showcase {
    padding: 1rem;
  }

  .register-modern-2026 .auth-showcase h1 {
    font-size: clamp(1.35rem, 1.15rem + 0.6vw, 1.75rem);
    line-height: 1.15;
  }

  .register-modern-2026 .auth-showcase p {
    margin-top: 0.35rem;
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .register-modern-2026 .auth-showcase-media {
    margin-top: 0.55rem;
    max-height: 31vh;
  }

  .register-modern-2026 .auth-showcase-media img {
    max-height: 31vh;
    object-fit: cover;
  }

  .register-modern-2026 .auth-showcase-badges {
    margin-top: 0.5rem;
    gap: 0.4rem;
  }

  .register-modern-2026 .auth-showcase-badge {
    padding: 0.42rem 0.5rem;
  }

  .register-modern-2026 .auth-feature-list {
    margin-top: 0.45rem;
    gap: 0.38rem;
  }

  .register-modern-2026 .auth-feature-list li {
    font-size: 0.8rem;
    line-height: 1.28;
  }

  .register-modern-2026 .auth-card {
    padding: 0.95rem 1rem;
  }

  .register-modern-2026 .auth-card-head h2 {
    font-size: clamp(1.2rem, 1.08rem + 0.45vw, 1.45rem);
  }

  .register-modern-2026 .auth-card-head p {
    margin-top: 0.25rem;
    font-size: 0.8rem;
    line-height: 1.32;
  }

  .register-modern-2026 .auth-form {
    margin-top: 0.62rem;
    gap: 0.5rem;
  }

  .register-modern-2026 .auth-field label {
    margin-bottom: 0.2rem;
    font-size: 0.74rem;
  }

  .register-modern-2026 .auth-input {
    padding: 0.5rem 0.65rem;
    font-size: 0.84rem;
  }

  .register-modern-2026 .auth-check {
    margin-top: 0;
    font-size: 0.79rem;
  }

  .register-modern-2026 .auth-primary-btn,
  .register-modern-2026 .auth-secondary-btn {
    padding: 0.52rem 0.86rem;
    font-size: 0.84rem;
  }

  .register-modern-2026 .auth-footnote {
    margin-top: 0.35rem;
    font-size: 0.76rem;
  }
}
