@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&amp;family=Space+Grotesk:wght@500;600&amp;display=swap');
    
:root {
  --aevon-blue: #0140FF;
}

body {
  font-family: 'Inter', system_ui, sans-serif;
}

.font-display {
  font-family: 'Space Grotesk', 'Inter', system_ui, sans-serif;
  font-feature-settings: "ss01";
}

.aevon-blue { color: #0140FF; }
.bg-aevon-blue { background-color: #0140FF; }
.border-aevon-blue { border-color: #0140FF; }
.hover\:bg-aevon-blue:hover { background-color: #0140FF; }
.focus\:ring-aevon-blue:focus { --tw-ring-color: #0140FF; }

.dashboard-bg {
  background-color: #f8fafc;
}

.metric-card {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}
.metric-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
}

.nav-active {
  background-color: #eff6ff;
  color: #0140FF;
  font-weight: 600;
}

.section-header {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  color: #64748b;
}

.stat-value {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.chart-container {
  position: relative;
}

.aevon-card {
  background: white;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px 0 rgb(15 23 42 / 0.04);
}

.minimal-shadow {
  box-shadow: 0 1px 2px 0 rgb(15 23 42 / 0.04);
}

.data-table {
  font-feature-settings: "tnum";
}

.login-gradient {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

.metric-trend-up {
  color: #15803d;
}

.status-dot {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.professional-table tr {
  transition: background-color 0.1s ease;
}
.professional-table tr:hover {
  background-color: #f8fafc;
}

.nav-item {
  transition: all 0.1s ease;
}
.nav-item:hover {
  background-color: #f1f5f9;
}

@media (max-width: 1023px) {
  .desktop-sidebar {
    display: none;
  }
}

.kpi-number {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
}

.subtle-grid {
  background-image: 
    linear-gradient(to right, #f1f5f9 1px, transparent 1px),
    linear-gradient(to bottom, #f1f5f9 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
}

.modal {
  animation: modalPop 0.2s cubic-bezier(0.32, 0.72, 0, 1);
}

#login-view {
  background: none;
}

/* Parallax background layers (login + dashboard banner) */
.parallax-bg {
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
  pointer-events: none;
}
.parallax-bg-login {
  position: fixed;
  left: 0;
  right: 0;
  top: -10%;
  width: 100%;
  height: 120%;
  z-index: 0;
  background-position: center center;
}
#login-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: transparent;
}
/* Login hero copy: white text over photo background (light theme has no overlay) */
#login-view .login-hero-copy h1,
#login-view .login-hero-copy p {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(15, 23, 42, 0.5);
}
.parallax-bg-banner {
  position: absolute;
  left: 0;
  right: 0;
  top: -32%;
  height: 168%;
  z-index: 0;
  background-position: center bottom;
}
#practice-banner {
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .parallax-bg-login {
    top: 0;
    height: 100%;
    transform: none !important;
  }
  .parallax-bg-banner {
    top: 0;
    height: 100%;
    transform: none !important;
  }
}

/* Overlay is applied via a real child element for reliable stacking (see HTML) */

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

.dashboard-header {
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.96);
}

/* Basic dark mode support for dashboard */
html.dark {
  color-scheme: dark;
}
html.dark body {
  background-color: #0f172a;
  color: #e2e8f0;
}
html.dark .aevon-card {
  background: #1e2937;
  border-color: #334155;
  box-shadow: 0 1px 3px 0 rgb(15 23 42 / 0.3);
}
html.dark .dashboard-bg {
  background-color: #0f172a;
}
html.dark nav {
  background: rgba(15, 23, 42, 0.95) !important;
  border-color: #334155;
}
html.dark .text-slate-900 { color: #f1f5f9 !important; }
html.dark .text-slate-700 { color: #cbd5e1 !important; }
html.dark .text-slate-600 { color: #94a3b8 !important; }
html.dark .text-slate-500 { color: #94a3b8 !important; }
html.dark .text-slate-400 { color: #64748b !important; }
html.dark .bg-white {
  background-color: #1e2937 !important;
}
html.dark .bg-slate-50 {
  background-color: #0f172a !important;
}
html.dark .bg-slate-100 {
  background-color: #1e2937 !important;
}
html.dark .border-slate-200,
html.dark .border-slate-100 {
  border-color: #334155 !important;
}
html.dark .divide-y.divide-slate-100 > * + *,
html.dark .divide-y > * + * {
  border-color: #334155 !important;
}
/* Hover states that use light slate in dark mode */
html.dark .hover\:bg-slate-50:hover,
html.dark .hover\:bg-slate-100:hover,
html.dark button:hover.bg-slate-50 {
  background-color: #334155 !important;
}
html.dark .active\:bg-white:active {
  background-color: #1e2937 !important;
}
html.dark #practice-banner {
  filter: brightness(0.85) saturate(0.9);
}
html.dark .practice-banner-fade {
  background: linear-gradient(to top, rgb(15 23 42 / 0.55), transparent);
}
/* Controls, switchers, dropdowns, inputs in dark */
html.dark select {
  background-color: #1e2937;
  border-color: #475569;
  color: #e2e8f0;
}
html.dark input[type="text"],
html.dark input[type="email"],
html.dark input[type="password"] {
  background-color: #1e2937;
  border-color: #475569;
  color: #e2e8f0;
}
html.dark input::placeholder {
  color: #64748b;
}
html.dark .period-btn {
  color: #cbd5e1;
}
html.dark .period-btn.nav-active {
  background-color: #1e3a8a;
  color: #bfdbfe;
}
/* User dropdowns and menus */
html.dark #user-menu,
html.dark #admin-user-menu {
  background: #1e2937;
  border-color: #334155;
}
html.dark #user-menu a,
html.dark #user-menu button,
html.dark #admin-user-menu button {
  color: #cbd5e1;
}
html.dark #user-menu a:hover,
html.dark #user-menu button:hover,
html.dark #admin-user-menu button:hover {
  background-color: #334155 !important;
}
html.dark #user-menu .border-b,
html.dark #admin-user-menu .border-b {
  border-color: #334155;
}

/* Impersonation banner (admin viewing client dashboard) */
.impersonation-banner {
  width: 100%;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #fde68a;
  background: #fffbeb;
}
.impersonation-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.impersonation-banner-text {
  color: #b45309;
}
.impersonation-banner-btn {
  background: #fff;
  border: 1px solid #fde68a;
  color: #b45309;
  transition: background-color 0.15s ease;
}
.impersonation-banner-btn:hover {
  background: #fef3c7;
}

/* Admin console — active clients table & action menus */
html.dark #admin-view {
  background-color: #0f172a;
}
html.dark #admin-view nav {
  background: rgba(15, 23, 42, 0.95) !important;
  border-color: #334155;
}
html.dark #admin-view table thead {
  background-color: #0f172a !important;
  border-color: #334155;
}
html.dark #admin-view table thead th {
  color: #94a3b8 !important;
}
html.dark #admin-view #admin-clients-tbody tr:hover {
  background-color: #334155 !important;
}
html.dark #admin-view #admin-clients-tbody .text-emerald-600 {
  color: #34d399 !important;
}
html.dark #admin-view #admin-clients-tbody .bg-slate-100 {
  background-color: #334155 !important;
  color: #cbd5e1 !important;
}
html.dark #admin-view .admin-action-trigger {
  background: #1e2937;
  border-color: #475569;
  color: #94a3b8;
}
html.dark #admin-view .admin-action-trigger:hover {
  background: #334155;
  color: #e2e8f0;
  border-color: #64748b;
}
html.dark #admin-view .admin-client-menu {
  background: #1e2937;
  border-color: #334155;
  box-shadow: 0 8px 24px -6px rgb(0 0 0 / 0.45);
}
html.dark #admin-view .admin-client-menu-item {
  color: #e2e8f0;
}
html.dark #admin-view .admin-client-menu-item:hover {
  background: #334155;
}
html.dark #admin-view .admin-client-menu-item svg {
  color: #94a3b8;
}
html.dark #admin-view .admin-client-menu-item.danger {
  color: #f87171;
}
html.dark #admin-view .admin-client-menu-item.danger svg {
  color: #f87171;
}
html.dark #admin-view .admin-client-menu-item.danger:hover {
  background: rgba(127, 29, 29, 0.3);
}
html.dark #admin-view .admin-client-menu-divider {
  background: #334155;
}
.admin-sortable-th {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.admin-sortable-th:hover {
  color: #334155;
}
.admin-sortable-th.sorted {
  color: #0140FF;
}
html.dark .admin-sortable-th:hover {
  color: #e2e8f0;
}
html.dark .admin-sortable-th.sorted {
  color: #60a5fa;
}
html.dark .impersonation-banner {
  border-bottom-color: #92400e;
  background: rgba(120, 53, 15, 0.4);
}
html.dark .impersonation-banner-text {
  color: #fcd34d;
}
html.dark .impersonation-banner-btn {
  background: #1e2937;
  border-color: #b45309;
  color: #fcd34d;
}
html.dark .impersonation-banner-btn:hover {
  background: rgba(120, 53, 15, 0.55);
}

/* See more accent */
html.dark .see-more-btn {
  color: #60a5fa !important;
}
/* Modal cards */
html.dark .modal {
  background: #1e2937;
  border-color: #334155;
}
/* Settings + activity modals scroll container (constrained height + internal scroll) */
#settings-modal .modal,
#activity-modal .modal {
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
/* Activity table header etc in dark */
html.dark .data-table thead {
  background-color: #0f172a;
}

/* Login page: dark overlay + ensure light text on darkened hero */
html.dark #login-overlay {
  background-color: rgba(15, 23, 42, 0.65);
}
/* Accent color updates for dark mode (makes blue pop on dark bgs for links, text, arrows, borders, focus states, etc.) */
html.dark .text-\[\#0140FF\],
html.dark a.text-\[\#0140FF\],
html.dark button.text-\[\#0140FF\],
html.dark .see-more-btn {
  color: #60a5fa !important;
}
html.dark .hover\:text-\[\#0030CC\]:hover {
  color: #3b82f6 !important;
}
html.dark .border-\[\#0140FF\],
html.dark .border-\[\#0140FF\]\/60,
html.dark .hover\:border-\[\#0140FF\]\/60:hover {
  border-color: #60a5fa !important;
}
html.dark .focus\:border-\[\#0140FF\]:focus,
html.dark .focus\:border-\[\#0140FF\]\/60:focus {
  border-color: #60a5fa !important;
}
html.dark .focus\:ring-\[\#0140FF\],
html.dark .focus\:ring-\[\#0140FF\]\/30,
html.dark .focus\:ring-\[\#0140FF\]\/20 {
  --tw-ring-color: #3b82f6;
}
/* Subtle accent tints (e.g. active theme buttons in prefs) */
html.dark .bg-\[\#0140FF\]\/5 {
  background-color: rgba(96, 165, 250, 0.12) !important;
}
/* Accent-filled CTAs — outlined in dark mode for contrast on dark backgrounds */
html.dark button.bg-\[\#0140FF\],
html.dark a.bg-\[\#0140FF\] {
  background-color: #1e40af !important;
  border: 1.5px solid #60a5fa !important;
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.35);
  color: #fff !important;
}
html.dark button.bg-\[\#0140FF\]:hover,
html.dark a.bg-\[\#0140FF\]:hover {
  background-color: #2563eb !important;
  border-color: #93c5fd !important;
}
html.dark #admin-user-menu a {
  color: #cbd5e1;
}
html.dark #admin-user-menu a:hover {
  background-color: #334155 !important;
}

/* Credentials / Details modal (admin) */
html.dark #credentials-modal .border-slate-200,
html.dark #credentials-modal .border-b,
html.dark #credentials-modal .border-t {
  border-color: #334155 !important;
}
html.dark #credentials-modal #cred-email-row,
html.dark #credentials-modal #cred-password-row {
  background-color: #1e2937 !important;
  border-color: #334155 !important;
}
html.dark #credentials-modal #cred-email,
html.dark #credentials-modal #cred-password {
  color: #f1f5f9 !important;
}
html.dark #credentials-modal .cred-copy-btn {
  color: #60a5fa !important;
}
html.dark #credentials-modal .cred-copy-btn:hover {
  background-color: #334155 !important;
}
html.dark #credentials-modal #cred-retell-note {
  background-color: rgba(6, 78, 59, 0.28) !important;
  border-color: #065f46 !important;
}
html.dark #credentials-modal .text-emerald-800 {
  color: #6ee7b7 !important;
}
html.dark #credentials-modal .text-emerald-700 {
  color: #34d399 !important;
}
html.dark #credentials-modal .credentials-modal-footer {
  background-color: #0f172a !important;
  border-color: #334155 !important;
}
html.dark #credentials-modal .credentials-modal-done {
  background-color: #1e2937 !important;
  border-color: #475569 !important;
  color: #e2e8f0 !important;
}
html.dark #credentials-modal .credentials-modal-done:hover {
  background-color: #334155 !important;
  border-color: #64748b !important;
}

/* Fix dark mode for "see more" / activity modal popup elements */
html.dark #activity-modal .bg-white,
html.dark #activity-modal .bg-slate-50 {
  background-color: #1e2937 !important;
}
html.dark #activity-modal .text-slate-600,
html.dark #activity-modal .text-slate-500,
html.dark #activity-modal .text-slate-400 {
  color: #cbd5e1 !important;
}
html.dark #activity-modal .border-slate-200,
html.dark #activity-modal .border-slate-100 {
  border-color: #334155 !important;
}
html.dark #activity-modal .text-slate-700 {
  color: #e2e8f0 !important;
}
html.dark #activity-modal button:hover.bg-slate-50,
html.dark #activity-modal .hover\:bg-slate-50:hover {
  background-color: #334155 !important;
}

html.dark .professional-table tr:hover,
html.dark #activity-modal .professional-table tr:hover,
html.dark #activity-modal tr:hover,
html.dark #activity-modal tbody tr:hover {
  background-color: #334155 !important;
}
html.dark #activity-modal .text-emerald-700 {
  color: #6ee7b7 !important;
}

/* Login page entrance animations */
@keyframes loginContentIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes loginLogoIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

.login-content {
  animation: loginContentIn 0.7s cubic-bezier(0.32, 0.72, 0, 1) both;
}

.login-logo {
  animation: loginLogoIn 0.6s cubic-bezier(0.32, 0.72, 0, 1) 0.05s both;
}

.login-card {
  animation: loginCardIn 0.65s cubic-bezier(0.32, 0.72, 0, 1) 0.12s both;
}

.login-bottom {
  animation: loginContentIn 0.6s cubic-bezier(0.32, 0.72, 0, 1) 0.25s both;
}

/* Dashboard entrance animations */
@keyframes dashboardContentIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dashboard-content {
  animation: dashboardContentIn 0.55s cubic-bezier(0.32, 0.72, 0, 1) 0.05s both;
}

/* Subtle UI fade-ins on dashboard open */
#practice-banner,
.aevon-card,
#compact-activity > div {
  animation: dashboardContentIn 0.6s ease forwards;
  animation-delay: 0.1s;
}
#practice-banner { animation-delay: 0s; }

/* Fix login page bottom feature pills (HIPAA etc.) in dark mode */
html.dark .login-bottom .inline-flex {
  background-color: rgba(30, 41, 59, 0.7) !important; /* slate-800 /70 */
  color: #e2e8f0 !important; /* light text */
  border-color: rgba(51, 65, 85, 0.5) !important;
}
html.dark .login-bottom .inline-flex span,
html.dark .login-bottom svg {
  color: #e2e8f0 !important;
  stroke: currentColor !important;
}

/* Practice identity — centered card bridging banner and dashboard */
.practice-hero {
  position: relative;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .practice-hero {
    margin-bottom: 4.5rem;
  }
}
.practice-identity-anchor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateY(50%);
  z-index: 10;
  display: flex;
  justify-content: center;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 768px) {
  .practice-identity-anchor {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.practice-identity-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow:
    0 1px 2px rgb(15 23 42 / 0.04),
    0 8px 24px -4px rgb(15 23 42 / 0.1),
    0 20px 40px -8px rgb(15 23 42 / 0.06);
  padding: 1rem 1.75rem 1.125rem;
  text-align: center;
  min-width: min(100%, 18rem);
  max-width: 36rem;
  width: fit-content;
}
@media (min-width: 768px) {
  .practice-identity-card {
    padding: 1.125rem 2.5rem 1.25rem;
    border-radius: 1.5rem;
  }
}
#welcome-practice-tab {
  color: #0f172a;
  line-height: 1.15;
}
.practice-location-row {
  margin-top: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.01em;
}
.practice-location-row svg {
  flex-shrink: 0;
  opacity: 0.75;
}
.practice-banner-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5rem;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgb(15 23 42 / 0.2), transparent);
}
html.dark .practice-identity-card {
  background: rgba(30, 41, 55, 0.96);
  border-color: #334155;
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.2),
    0 8px 24px -4px rgb(0 0 0 / 0.35),
    0 20px 40px -8px rgb(0 0 0 / 0.25);
}
html.dark #welcome-practice-tab {
  color: #f1f5f9 !important;
}
html.dark .practice-location-row,
html.dark #location-pill-tab {
  color: #94a3b8 !important;
}

/* Toolbar row — status + period controls, spaced below identity card */
.dashboard-toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  padding-top: 1.5rem;
  margin-bottom: 2rem;
  border-top: 1px solid #e2e8f0;
}
@media (min-width: 1024px) {
  .dashboard-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 1.75rem;
  }
}
.dashboard-toolbar-status {
  display: flex;
  justify-content: center;
}
@media (min-width: 1024px) {
  .dashboard-toolbar-status {
    justify-content: flex-start;
    flex-shrink: 0;
  }
}
.dashboard-toolbar-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}
@media (min-width: 1024px) {
  .dashboard-toolbar-controls {
    justify-content: flex-end;
    margin-left: auto;
  }
}
html.dark .dashboard-toolbar {
  border-top-color: #334155;
}

/* In-page notification toasts (bottom-right stack) */
.notif-toast-stack {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.625rem;
  width: min(22rem, calc(100vw - 2.5rem));
  pointer-events: none;
}
.notif-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 0.875rem 0.875rem 1rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 10px 25px -8px rgb(15 23 42 / 0.18), 0 4px 10px -4px rgb(15 23 42 / 0.08);
  animation: notif-toast-in 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.notif-toast--leaving {
  animation: notif-toast-out 0.22s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.notif-toast--global { border-left: 3px solid #f59e0b; }
.notif-toast--error { border-left: 3px solid #ef4444; }
.notif-toast--info { border-left: 3px solid #0140FF; }
.notif-toast--success { border-left: 3px solid #22c55e; }
.notif-toast-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.625rem;
}
.notif-toast-icon--global { background: #fef3c7; color: #b45309; }
.notif-toast-icon--error { background: #fee2e2; color: #dc2626; }
.notif-toast-icon--info { background: rgba(1, 64, 255, 0.08); color: #0140FF; }
.notif-toast-icon--success { background: #dcfce7; color: #16a34a; }
.notif-toast-body { flex: 1; min-width: 0; }
.notif-toast-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}
.notif-toast-message {
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: #475569;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.notif-toast-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.notif-toast-link {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #0140FF;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.notif-toast-link:hover { color: #0030CC; text-decoration: underline; }
.notif-toast-close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.notif-toast-close:hover {
  background: #f1f5f9;
  color: #475569;
}
@keyframes notif-toast-in {
  from { opacity: 0; transform: translateX(1.25rem); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes notif-toast-out {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(1.25rem); }
}
html.dark .notif-toast {
  background: #1e2937;
  border-color: #334155;
  box-shadow: 0 12px 28px -8px rgb(0 0 0 / 0.45), 0 4px 10px -4px rgb(0 0 0 / 0.25);
}
html.dark .notif-toast--global { border-left-color: #fbbf24; }
html.dark .notif-toast--error { border-left-color: #f87171; }
html.dark .notif-toast--info { border-left-color: #60a5fa; }
html.dark .notif-toast--success { border-left-color: #4ade80; }
html.dark .notif-toast-icon--global { background: rgba(120, 53, 15, 0.45); color: #fcd34d; }
html.dark .notif-toast-icon--error { background: rgba(127, 29, 29, 0.35); color: #fca5a5; }
html.dark .notif-toast-icon--info { background: rgba(30, 64, 175, 0.35); color: #93c5fd; }
html.dark .notif-toast-icon--success { background: rgba(20, 83, 45, 0.35); color: #86efac; }
html.dark .notif-toast-title { color: #f1f5f9; }
html.dark .notif-toast-message { color: #94a3b8; }
html.dark .notif-toast-link { color: #60a5fa; }
html.dark .notif-toast-link:hover { color: #93c5fd; }
html.dark .notif-toast-close { color: #64748b; }
html.dark .notif-toast-close:hover {
  background: #334155;
  color: #cbd5e1;
}
