:root {
  --ai-mint: #bff4dd;
  --ai-mint-soft: #e3fbf1;
  --ai-lavender: #d9cefc;
  --ai-lavender-soft: #efe9ff;
  --ai-peach: #ffd6bd;
  --ai-peach-soft: #ffeee2;
  --ai-yellow: #ffedab;
  --ai-yellow-soft: #fff8df;
  --ai-rose: #ffc7d6;
  --ai-rose-soft: #ffe7ee;
  --ai-sky: #bfe6ff;
  --ai-sky-soft: #e6f5ff;
  --ai-accent: #8b7af5;
  --ai-accent-dark: #6d5fd6;
  --ai-shadow: 124, 108, 209;
  --ai-radius: 1.1rem;
  --ai-radius-lg: 1.35rem;
}

html,
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: #f6f5fc;
  background-image:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(191, 244, 221, 0.65), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(217, 206, 252, 0.6), transparent 60%),
    radial-gradient(ellipse 65% 55% at 100% 100%, rgba(255, 214, 189, 0.55), transparent 60%),
    radial-gradient(ellipse 65% 55% at 0% 100%, rgba(255, 237, 171, 0.55), transparent 60%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.ai-canvas {
  background-color: transparent;
}

.rounded {
  border-radius: var(--ai-radius);
}

.rounded-md {
  border-radius: 0.85rem;
}

.rounded-lg {
  border-radius: var(--ai-radius-lg);
}

.rounded-t {
  border-top-left-radius: var(--ai-radius);
  border-top-right-radius: var(--ai-radius);
}

.rounded-t-lg {
  border-top-left-radius: var(--ai-radius-lg);
  border-top-right-radius: var(--ai-radius-lg);
}

.shadow-sm {
  --tw-shadow: 0 2px 6px -2px rgba(var(--ai-shadow), 0.10);
}

.shadow {
  --tw-shadow: 0 4px 12px -4px rgba(var(--ai-shadow), 0.14), 0 2px 4px -2px rgba(var(--ai-shadow), 0.08);
}

.shadow-md {
  --tw-shadow: 0 8px 20px -6px rgba(var(--ai-shadow), 0.16), 0 3px 6px -3px rgba(var(--ai-shadow), 0.10);
}

.shadow-lg,
.shadow-xl {
  --tw-shadow: 0 14px 32px -10px rgba(var(--ai-shadow), 0.18), 0 6px 12px -6px rgba(var(--ai-shadow), 0.10);
}

.shadow-2xl {
  --tw-shadow: 0 22px 45px -14px rgba(var(--ai-shadow), 0.22);
}

.bg-white.shadow,
.bg-white.shadow-md,
.bg-white.shadow-lg,
.bg-white.shadow-xl {
  border: 1px solid rgba(var(--ai-shadow), 0.06);
}

.bg-white.shadow,
.bg-white.shadow-sm,
.bg-white.shadow-md,
.bg-white.shadow-lg,
.bg-white.shadow-xl,
.bg-white.shadow-2xl {
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.bg-white.shadow:hover,
.bg-white.shadow-sm:hover,
.bg-white.shadow-md:hover,
.bg-white.shadow-lg:hover,
.bg-white.shadow-xl:hover,
.bg-white.shadow-2xl:hover {
  border-color: rgba(139, 122, 245, 0.35);
  box-shadow:
    0 0 0 1px rgba(139, 122, 245, 0.12),
    0 22px 45px -16px rgba(124, 108, 209, 0.45),
    0 0 32px -6px rgba(129, 140, 248, 0.45);
  transform: translateY(-3px);
}

.bg-blueGray-50 {
  background-color: #f6f4fd;
}

* {
  --tw-ring-color: rgba(139, 122, 245, 0.35);
}

#ai-sidebar {
  border-right: 1px solid rgba(var(--ai-shadow), 0.06);
  border-top: none !important;
  border-left: none !important;
  border-bottom: none !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-shadow: 0 14px 32px -10px rgba(var(--ai-shadow), 0.15) !important;
  transform: none !important;
  transition: none !important;
  isolation: isolate;
}

#ai-sidebar>div {
  border-top-right-radius: 1.75rem;
}

#ai-sidebar:hover {
  transform: none !important;
  box-shadow: 0 14px 32px -10px rgba(var(--ai-shadow), 0.15) !important;
  border-color: rgba(var(--ai-shadow), 0.06) !important;
}

#ai-sidebar::-webkit-scrollbar {
  display: none;
}

.ai-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ai-accent-dark);
  background: linear-gradient(135deg, #34d399 0%, #818cf8 55%, #fb923c 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border-top-right-radius: 1.75rem;
}

.ai-brand::before {
  content: '';
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  flex-shrink: 0;
  border-radius: 0.25rem;
  background: linear-gradient(135deg, #34d399 0%, #818cf8 100%);
  box-shadow: 0 2px 8px -1px rgba(129, 140, 248, 0.6);
}

#ai-sidebar h6 {
  letter-spacing: 0.12em;
  color: #aca8d1;
}

#ai-sidebar ul li>a,
#ai-sidebar ul li>form>button,
#ai-sidebar ul li>span {
  border-radius: 0.85rem;
  padding-left: 0.85rem;
  padding-right: 0.85rem;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#ai-sidebar ul li>a:hover,
#ai-sidebar ul li>form>button:hover {
  background: var(--ai-lavender-soft);
  color: var(--ai-accent-dark);
  transform: translateX(2px);
}

#ai-sidebar ul li>a:hover i {
  color: var(--ai-accent) !important;
}

#ai-sidebar ul li>a.text-emerald-500 {
  color: var(--ai-accent-dark);
  background: linear-gradient(135deg, var(--ai-lavender-soft) 0%, var(--ai-sky-soft) 100%);
  box-shadow: 0 6px 16px -8px rgba(var(--ai-shadow), 0.45);
}

#ai-sidebar ul li>a.text-emerald-500:hover {
  color: var(--ai-accent-dark);
}

.shadow-lg.rounded-full.text-white {
  border-radius: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shadow-lg.rounded-full.text-white:hover {
  transform: scale(1.08);
}

.shadow-lg.rounded-full.text-white.bg-red-400,
.shadow-lg.rounded-full.text-white.bg-red-500 {
  background: var(--ai-rose-soft);
  color: #fb7185;
  box-shadow: 0 10px 22px -10px rgba(251, 113, 133, 0.55);
}

.shadow-lg.rounded-full.text-white.bg-orange-500 {
  background: var(--ai-peach-soft);
  color: #fb923c;
  box-shadow: 0 10px 22px -10px rgba(251, 146, 60, 0.5);
}

.shadow-lg.rounded-full.text-white.bg-pink-500 {
  background: var(--ai-rose-soft);
  color: #ec4899;
  box-shadow: 0 10px 22px -10px rgba(236, 72, 153, 0.45);
}

.shadow-lg.rounded-full.text-white.bg-emerald-400,
.shadow-lg.rounded-full.text-white.bg-emerald-500 {
  background: var(--ai-mint-soft);
  color: #10b981;
  box-shadow: 0 10px 22px -10px rgba(16, 185, 129, 0.45);
}

.shadow-lg.rounded-full.text-white.bg-indigo-500 {
  background: var(--ai-lavender-soft);
  color: #818cf8;
  box-shadow: 0 10px 22px -10px rgba(129, 140, 248, 0.5);
}

.shadow-lg.rounded-full.text-white.bg-lightBlue-400,
.shadow-lg.rounded-full.text-white.bg-lightBlue-500,
.shadow-lg.rounded-full.text-white.bg-blue-500 {
  background: var(--ai-sky-soft);
  color: #38bdf8;
  box-shadow: 0 10px 22px -10px rgba(56, 189, 248, 0.5);
}

.shadow-lg.rounded-full.text-white.bg-blueGray-600 {
  background: #eef0f7;
  color: #64748b;
  box-shadow: 0 10px 22px -10px rgba(100, 116, 139, 0.35);
}

table thead th.bg-blueGray-50 {
  background-color: var(--ai-lavender-soft);
  color: #8b85b5;
  border-color: rgba(var(--ai-shadow), 0.10);
}

table thead th.bg-blueGray-50:first-child {
  border-top-left-radius: 0.85rem;
}

table thead th.bg-blueGray-50:last-child {
  border-top-right-radius: 0.85rem;
}

table tbody tr:hover {
  background-color: rgba(var(--ai-shadow), 0.035);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}