@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Premium Scrollbars */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Shimmer loader effect */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.skeleton-shimmer {
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

[x-cloak] {
  display: none !important;
}

/* Custom premium badge borders and soft colours */
.badge-general {
  background-color: rgba(16, 185, 129, 0.06);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.badge-testdrive {
  background-color: rgba(225, 37, 27, 0.05);
  color: #D61F17;
  border: 1px solid rgba(225, 37, 27, 0.12);
}

.badge-vehicle {
  background-color: rgba(59, 130, 246, 0.06);
  color: #2563EB;
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.badge-dealer {
  background-color: rgba(245, 158, 11, 0.06);
  color: #D97706;
  border: 1px solid rgba(245, 158, 11, 0.15);
}

/* CRM status badging overrides */
.status-new {
  background-color: rgba(14, 165, 233, 0.06);
  color: #0284C7;
  border: 1px solid rgba(14, 165, 233, 0.15);
}

.status-contacted {
  background-color: rgba(234, 179, 8, 0.06);
  color: #CA8A04;
  border: 1px solid rgba(234, 179, 8, 0.15);
}

.status-followup {
  background-color: rgba(249, 115, 22, 0.06);
  color: #EA580C;
  border: 1px solid rgba(249, 115, 22, 0.15);
}

.status-interested {
  background-color: rgba(99, 102, 241, 0.06);
  color: #4F46E5;
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.status-scheduled {
  background-color: rgba(139, 92, 246, 0.06);
  color: #7C3AED;
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.status-converted {
  background-color: rgba(34, 197, 94, 0.06);
  color: #16A34A;
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.status-closed {
  background-color: rgba(100, 116, 139, 0.06);
  color: #475569;
  border: 1px solid rgba(100, 116, 139, 0.15);
}

/* Hide CKEditor 4 Security/Upgrade Notification Banner */
.cke_notification_warning,
.cke_notifications_area,
.cke_notification {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}
