/* CleanForm light / dark theme overrides */

html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="light"] img.cleanform-logo-img {
  content: normal;
}

html[data-theme="dark"] img.cleanform-logo-img {
  content: normal;
}

html[data-theme="dark"] img.cleanform-logo-img.dashboard-sidebar-logo {
  max-width: 110px !important;
  max-height: 48px !important;
  width: auto !important;
  height: auto !important;
  object-position: left center !important;
  filter: drop-shadow(0 0 10px rgba(163, 230, 53, 0.45)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

html[data-theme="dark"] img.cleanform-logo-img.dashboard-sidebar-logo--collapsed {
  max-width: 40px !important;
  max-height: 40px !important;
  object-position: center !important;
}

html[data-theme="dark"] .auth-brand .cleanform-logo-img,
html[data-theme="dark"] .landing-brand .cleanform-logo-img {
  max-width: 96px !important;
  max-height: 56px !important;
  margin: 0 auto !important;
  filter: drop-shadow(0 0 12px rgba(163, 230, 53, 0.4));
}

/* Dashboard shell */
html[data-theme="light"] [class*="bg-slate-950"] {
  background-color: #f1f5f9 !important;
}

html[data-theme="light"] aside[class*="bg-slate-950"] {
  background-color: #ffffff !important;
  box-shadow: 1px 0 0 #e2e8f0;
}

html[data-theme="light"] aside [class*="border-white"] {
  border-color: #e2e8f0 !important;
}

html[data-theme="light"] aside [class*="text-white"] {
  color: #0f172a !important;
}

html[data-theme="light"] aside [class*="text-slate-400"],
html[data-theme="light"] aside [class*="text-slate-500"],
html[data-theme="light"] aside [class*="text-slate-600"] {
  color: #64748b !important;
}

html[data-theme="light"] aside [class*="hover:bg-white"]:hover,
html[data-theme="light"] aside [class*="hover\\:bg-white"]:hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

html[data-theme="light"] aside [class*="bg-white/5"] {
  background-color: #f8fafc !important;
}

html[data-theme="light"] main [class*="text-white"] {
  color: #0f172a !important;
}

html[data-theme="light"] main [class*="text-slate-300"],
html[data-theme="light"] main [class*="text-slate-400"],
html[data-theme="light"] main [class*="text-slate-500"] {
  color: #64748b !important;
}

html[data-theme="light"] main [class*="bg-white/5"],
html[data-theme="light"] main [class*="bg-slate-900"],
html[data-theme="light"] main [class*="bg-slate-900/"] {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
}

html[data-theme="light"] main [class*="border-white"] {
  border-color: #e2e8f0 !important;
}

html[data-theme="light"] main [class*="ring-white"] {
  --tw-ring-color: rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] [class*="from-blue-600/20"] {
  background-image: linear-gradient(to right, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.05)) !important;
}

html[data-theme="light"] [class*="text-blue-300"],
html[data-theme="light"] [class*="text-blue-400"] {
  color: #2563eb !important;
}

html[data-theme="light"] [class*="text-emerald-300"],
html[data-theme="light"] [class*="text-emerald-400"] {
  color: #059669 !important;
}

/* ═══════════════════════════════════════════════════════════
   Dashboard — Premium UI (CleanForm navy + teal)
   ═══════════════════════════════════════════════════════════ */

html[data-theme="dark"] body.cleanform-dashboard {
  font-family: "DM Sans", system-ui, -apple-system, sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

/* Page shell */
html[data-theme="dark"] body.cleanform-dashboard [class*="bg-slate-950"] {
  background-color: #0a1628 !important;
}

html[data-theme="dark"] body.cleanform-dashboard aside[class*="bg-slate-950"] {
  background: linear-gradient(180deg, #0f2744 0%, #0a1628 55%, #081220 100%) !important;
  border-right-color: rgba(45, 212, 191, 0.1) !important;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18) !important;
}

html[data-theme="dark"] body.cleanform-dashboard aside [class*="border-white"] {
  border-color: rgba(148, 163, 184, 0.1) !important;
}

/* Sidebar header */
html[data-theme="dark"] body.cleanform-dashboard aside > div[class*="border-b"] {
  background: rgba(255, 255, 255, 0.02) !important;
}

html[data-theme="dark"] body.cleanform-dashboard aside button[class*="rounded-lg"] {
  border-radius: 10px !important;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease !important;
}

html[data-theme="dark"] body.cleanform-dashboard aside button[class*="rounded-lg"]:hover {
  background: rgba(45, 212, 191, 0.1) !important;
  color: #e2e8f0 !important;
}

/* Nav section labels */
html[data-theme="dark"] body.cleanform-dashboard aside nav [class*="text-slate-600"] {
  color: #64748b !important;
  letter-spacing: 0.14em !important;
}

/* Nav links — default */
html[data-theme="dark"] body.cleanform-dashboard aside nav a {
  border-radius: 10px !important;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease !important;
}

html[data-theme="dark"] body.cleanform-dashboard aside nav a[class*="text-slate-400"] {
  color: #94a3b8 !important;
}

html[data-theme="dark"] body.cleanform-dashboard aside nav a[class*="text-slate-400"]:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #f1f5f9 !important;
}

/* Nav links — active (teal accent) */
html[data-theme="dark"] body.cleanform-dashboard aside nav a[class*="from-blue-600"] {
  background-image: linear-gradient(
    to right,
    rgba(13, 148, 136, 0.22),
    rgba(20, 184, 166, 0.06)
  ) !important;
  color: #5eead4 !important;
  box-shadow: 0 1px 0 rgba(45, 212, 191, 0.12) !important;
}

html[data-theme="dark"] body.cleanform-dashboard aside nav a[class*="ring-blue-500"] {
  --tw-ring-color: rgba(45, 212, 191, 0.22) !important;
}

html[data-theme="dark"] body.cleanform-dashboard aside nav a[class*="text-blue-300"] {
  color: #5eead4 !important;
}

/* User card in sidebar footer */
html[data-theme="dark"] body.cleanform-dashboard aside [class*="rounded-xl"][class*="bg-white/5"] {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(148, 163, 184, 0.1) !important;
  transition: border-color 0.15s ease, background 0.15s ease !important;
}

html[data-theme="dark"] body.cleanform-dashboard aside [class*="rounded-xl"][class*="bg-white/5"]:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(45, 212, 191, 0.15) !important;
}

html[data-theme="dark"] body.cleanform-dashboard aside [class*="from-blue-500"][class*="to-emerald-500"] {
  background-image: linear-gradient(to bottom right, #0d9488, #059669) !important;
}

/* Main content area */
html[data-theme="dark"] body.cleanform-dashboard main.relative.flex-1 {
  background:
    radial-gradient(ellipse 60% 45% at 100% 0%, rgba(13, 148, 136, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(30, 58, 95, 0.12) 0%, transparent 50%),
    #0a1628 !important;
}

html[data-theme="dark"] body.cleanform-dashboard main [class*="bg-blue-500/20"] {
  background-color: rgba(13, 148, 136, 0.1) !important;
}

html[data-theme="dark"] body.cleanform-dashboard main [class*="bg-emerald-500/15"] {
  background-color: rgba(5, 150, 105, 0.1) !important;
}

html[data-theme="dark"] body.cleanform-dashboard main .max-w-7xl {
  animation: cleanform-fade-in 0.45s ease-out;
}

@keyframes cleanform-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cards & panels */
html[data-theme="dark"] body.cleanform-dashboard main [class*="bg-slate-900"],
html[data-theme="dark"] body.cleanform-dashboard main [class*="bg-slate-900/"] {
  background: rgba(15, 39, 68, 0.72) !important;
  border-color: rgba(148, 163, 184, 0.1) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
  backdrop-filter: blur(12px) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

html[data-theme="dark"] body.cleanform-dashboard main [class*="rounded-2xl"][class*="border"]:hover {
  border-color: rgba(45, 212, 191, 0.18) !important;
}

html[data-theme="dark"] body.cleanform-dashboard main [class*="shadow-lg"] {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

/* Typography in main */
html[data-theme="dark"] body.cleanform-dashboard main [class*="text-white"] {
  color: #f8fafc !important;
}

html[data-theme="dark"] body.cleanform-dashboard main [class*="text-slate-300"],
html[data-theme="dark"] body.cleanform-dashboard main [class*="text-slate-400"],
html[data-theme="dark"] body.cleanform-dashboard main [class*="text-slate-500"] {
  color: #94a3b8 !important;
}

html[data-theme="dark"] body.cleanform-dashboard main [class*="text-blue-300"],
html[data-theme="dark"] body.cleanform-dashboard main [class*="text-blue-400"] {
  color: #2dd4bf !important;
}

html[data-theme="dark"] body.cleanform-dashboard main a[class*="text-blue-400"]:hover {
  color: #5eead4 !important;
}

html[data-theme="dark"] body.cleanform-dashboard main [class*="text-emerald-300"],
html[data-theme="dark"] body.cleanform-dashboard main [class*="text-emerald-400"] {
  color: #34d399 !important;
}

/* Hero banner on overview */
html[data-theme="dark"] body.cleanform-dashboard main [class*="from-slate-900"][class*="to-slate-950"] {
  background-image: linear-gradient(
    to bottom right,
    rgba(15, 39, 68, 0.95),
    rgba(10, 22, 40, 0.98)
  ) !important;
  border-color: rgba(45, 212, 191, 0.12) !important;
}

/* Buttons */
html[data-theme="dark"] body.cleanform-dashboard main button[class*="bg-blue-"],
html[data-theme="dark"] body.cleanform-dashboard main a[class*="bg-blue-"] {
  background-color: #0d9488 !important;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease !important;
}

html[data-theme="dark"] body.cleanform-dashboard main button[class*="bg-blue-"]:hover,
html[data-theme="dark"] body.cleanform-dashboard main a[class*="bg-blue-"]:hover {
  background-color: #0f766e !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3) !important;
}

html[data-theme="dark"] body.cleanform-dashboard main button[class*="border-white"],
html[data-theme="dark"] body.cleanform-dashboard main a[class*="border-white"] {
  border-color: rgba(148, 163, 184, 0.2) !important;
}

html[data-theme="dark"] body.cleanform-dashboard main button[class*="border-white"]:hover,
html[data-theme="dark"] body.cleanform-dashboard main a[class*="border-white"]:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(45, 212, 191, 0.25) !important;
}

/* Inputs & form fields */
html[data-theme="dark"] body.cleanform-dashboard main input,
html[data-theme="dark"] body.cleanform-dashboard main textarea,
html[data-theme="dark"] body.cleanform-dashboard main select {
  background: rgba(15, 39, 68, 0.8) !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
  color: #f8fafc !important;
  border-radius: 10px !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

html[data-theme="dark"] body.cleanform-dashboard main input:focus,
html[data-theme="dark"] body.cleanform-dashboard main textarea:focus,
html[data-theme="dark"] body.cleanform-dashboard main select:focus {
  border-color: rgba(45, 212, 191, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15) !important;
  outline: none !important;
}

html[data-theme="dark"] body.cleanform-dashboard main input::placeholder,
html[data-theme="dark"] body.cleanform-dashboard main textarea::placeholder {
  color: #64748b !important;
}

/* Tables */
html[data-theme="dark"] body.cleanform-dashboard main table thead {
  background: rgba(255, 255, 255, 0.03) !important;
}

html[data-theme="dark"] body.cleanform-dashboard main table th {
  color: #94a3b8 !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
}

html[data-theme="dark"] body.cleanform-dashboard main table tr {
  border-color: rgba(148, 163, 184, 0.08) !important;
  transition: background 0.12s ease !important;
}

html[data-theme="dark"] body.cleanform-dashboard main table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03) !important;
}

/* Badges & pills */
html[data-theme="dark"] body.cleanform-dashboard main [class*="rounded-full"][class*="bg-"] {
  font-weight: 600 !important;
}

/* Loading spinner */
html[data-theme="dark"] body.cleanform-dashboard .flex.h-screen.items-center.justify-center {
  background: linear-gradient(135deg, #0a1628 0%, #0f2744 100%) !important;
}

html[data-theme="dark"] body.cleanform-dashboard [class*="border-blue-500"][class*="animate-spin"] {
  border-color: rgba(45, 212, 191, 0.25) !important;
  border-top-color: #14b8a6 !important;
}

html[data-theme="dark"] body.cleanform-dashboard [class*="bg-blue-500/20"][class*="animate-ping"] {
  background-color: rgba(13, 148, 136, 0.2) !important;
}

/* Scrollbars */
html[data-theme="dark"] body.cleanform-dashboard aside nav,
html[data-theme="dark"] body.cleanform-dashboard main {
  scrollbar-width: thin;
  scrollbar-color: rgba(45, 212, 191, 0.28) transparent;
}

html[data-theme="dark"] body.cleanform-dashboard aside nav::-webkit-scrollbar,
html[data-theme="dark"] body.cleanform-dashboard main::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

html[data-theme="dark"] body.cleanform-dashboard aside nav::-webkit-scrollbar-thumb,
html[data-theme="dark"] body.cleanform-dashboard main::-webkit-scrollbar-thumb {
  background: rgba(45, 212, 191, 0.28);
  border-radius: 999px;
}

html[data-theme="dark"] body.cleanform-dashboard aside nav::-webkit-scrollbar-thumb:hover,
html[data-theme="dark"] body.cleanform-dashboard main::-webkit-scrollbar-thumb:hover {
  background: rgba(45, 212, 191, 0.42);
}

/* Theme toggle in sidebar */
html[data-theme="dark"] body.cleanform-dashboard aside .cleanform-theme-toggle {
  border: 1px solid rgba(148, 163, 184, 0.12) !important;
  border-radius: 10px !important;
  margin-bottom: 8px !important;
}

html[data-theme="dark"] body.cleanform-dashboard aside .cleanform-theme-toggle:hover {
  background: rgba(45, 212, 191, 0.1) !important;
  border-color: rgba(45, 212, 191, 0.2) !important;
}

/* Chatbot — CleanForm teal */
html[data-theme="dark"] body.cleanform-dashboard .pepe-chatbot__launcher {
  background: linear-gradient(135deg, #0d9488, #059669) !important;
  box-shadow: 0 8px 28px rgba(13, 148, 136, 0.35) !important;
}

html[data-theme="dark"] body.cleanform-dashboard .pepe-chatbot__launcher:hover {
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.45) !important;
}

html[data-theme="dark"] body.cleanform-dashboard .pepe-chatbot__header {
  background: linear-gradient(90deg, #0f2744, #0d9488) !important;
}

html[data-theme="dark"] body.cleanform-dashboard .pepe-chatbot--dashboard .pepe-chatbot__panel {
  background: #0f2744 !important;
  border-color: rgba(45, 212, 191, 0.15) !important;
}

/* ═══════════════════════════════════════════════════════════
   Dashboard — Light mode polish
   ═══════════════════════════════════════════════════════════ */

html[data-theme="light"] body.cleanform-dashboard {
  font-family: "DM Sans", system-ui, -apple-system, sans-serif !important;
}

html[data-theme="light"] body.cleanform-dashboard aside[class*="bg-slate-950"] {
  background: #ffffff !important;
  box-shadow: 1px 0 0 #e2e8f0, 4px 0 24px rgba(15, 39, 68, 0.04) !important;
}

html[data-theme="light"] body.cleanform-dashboard aside nav a[class*="from-blue-600"] {
  background-image: linear-gradient(
    to right,
    rgba(13, 148, 136, 0.12),
    rgba(20, 184, 166, 0.04)
  ) !important;
  color: #0f766e !important;
}

html[data-theme="light"] body.cleanform-dashboard aside nav a[class*="text-blue-300"] {
  color: #0f766e !important;
}

html[data-theme="light"] body.cleanform-dashboard main.relative.flex-1 {
  background: linear-gradient(180deg, #f8fafb 0%, #f1f5f9 100%) !important;
}

html[data-theme="light"] body.cleanform-dashboard main [class*="bg-slate-900"],
html[data-theme="light"] body.cleanform-dashboard main [class*="bg-slate-900/"] {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 12px rgba(15, 39, 68, 0.06) !important;
}

html[data-theme="light"] body.cleanform-dashboard main [class*="rounded-2xl"][class*="border"]:hover {
  border-color: rgba(13, 148, 136, 0.25) !important;
  box-shadow: 0 8px 24px rgba(15, 39, 68, 0.08) !important;
}

html[data-theme="light"] body.cleanform-dashboard main [class*="text-blue-400"] {
  color: #0d9488 !important;
}

html[data-theme="light"] body.cleanform-dashboard main button[class*="bg-blue-"],
html[data-theme="light"] body.cleanform-dashboard main a[class*="bg-blue-"] {
  background-color: #0d9488 !important;
}

html[data-theme="light"] body.cleanform-dashboard main .max-w-7xl {
  animation: cleanform-fade-in 0.45s ease-out;
}

html[data-theme="dark"] .pepe-chatbot__launcher,
html[data-theme="light"] .pepe-chatbot__launcher {
  background: linear-gradient(135deg, #059669, #0d9488) !important;
  box-shadow: 0 8px 28px rgba(13, 148, 136, 0.35) !important;
}

.pepe-chatbot__header {
  background: linear-gradient(90deg, #0f2744, #0d9488) !important;
}

.pepe-chatbot__header-title span {
  font-weight: 700 !important;
}

.pepe-chatbot--dashboard .pepe-chatbot__panel {
  border-color: rgba(45, 212, 191, 0.2) !important;
}

.pepe-chatbot__bubble--assistant {
  border-left: 3px solid #22c55e !important;
}

.pepe-chatbot__action {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border-color: rgba(34, 197, 94, 0.25) !important;
}

/* Auth pages in dark mode */
html[data-theme="dark"] .auth-page {
  background: #0f172a !important;
}

html[data-theme="dark"] .auth-panel {
  background: #0f172a !important;
}

html[data-theme="dark"] .auth-card {
  background: #1e293b !important;
  border-color: #334155 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35) !important;
}

html[data-theme="dark"] .auth-brand {
  border-color: #334155 !important;
}

html[data-theme="dark"] .auth-brand__tagline,
html[data-theme="dark"] .auth-brand__subtitle,
html[data-theme="dark"] .auth-hint,
html[data-theme="dark"] .auth-loading,
html[data-theme="dark"] .auth-footer,
html[data-theme="dark"] .auth-field label,
html[data-theme="dark"] .auth-optional {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .auth-form h1,
html[data-theme="dark"] .auth-form h2,
html[data-theme="dark"] .auth-card h1,
html[data-theme="dark"] .auth-card h2 {
  color: #f8fafc !important;
}

html[data-theme="dark"] .auth-input {
  background: #0f172a !important;
  border-color: #475569 !important;
  color: #f8fafc !important;
}

html[data-theme="dark"] .auth-input::placeholder {
  color: #64748b !important;
}

html[data-theme="dark"] .auth-divider {
  color: #64748b !important;
}

html[data-theme="dark"] .auth-divider::before,
html[data-theme="dark"] .auth-divider::after {
  background: #334155 !important;
}

html[data-theme="dark"] .auth-demo-card {
  background: #1e293b !important;
  border-color: #334155 !important;
}

html[data-theme="dark"] .auth-demo-card__email {
  color: #cbd5e1 !important;
}

html[data-theme="dark"] .auth-inline-link,
html[data-theme="dark"] .auth-brand__back a,
html[data-theme="dark"] .auth-footer a {
  color: #60a5fa !important;
}

/* Theme toggle */
.cleanform-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cleanform-theme-toggle:hover {
  background: rgba(148, 163, 184, 0.12);
}

html[data-theme="dark"] aside .cleanform-theme-toggle {
  color: #e2e8f0 !important;
}

html[data-theme="dark"] aside .cleanform-theme-toggle:hover {
  background: rgba(148, 163, 184, 0.16) !important;
  color: #f8fafc !important;
}

html[data-theme="dark"] .cleanform-theme-toggle [data-cleanform-theme-icon] {
  background: #e2e8f0 !important;
}

html[data-theme="light"] .cleanform-theme-toggle:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.cleanform-theme-toggle--icon {
  justify-content: center;
  padding: 10px;
}

.cleanform-theme-toggle [data-cleanform-theme-icon] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41'/%3E%3C/svg%3E") center / contain no-repeat;
}

html[data-theme="dark"] .cleanform-theme-toggle [data-cleanform-theme-icon] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E");
}

.cleanform-theme-toggle--auth {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 60;
  width: auto;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
}

html[data-theme="dark"] .cleanform-theme-toggle--auth {
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.2);
}
