/* Define Catppuccin Mocha colors as CSS variables */
:root {
  --mocha-base: #1e1e2e;
  --mocha-mantle: #181825;
  --mocha-crust: #11111b;
  --mocha-text: #cdd6f4;
  --mocha-subtext0: #a6adc8;
  --mocha-subtext1: #bac2de;
  --mocha-surface0: #313244;
  --mocha-surface1: #45475a;
  --mocha-surface2: #585b70;
  --mocha-overlay0: #6c7086;
  --mocha-overlay1: #7f849c;
  --mocha-overlay2: #9399b2;
  --mocha-blue: #89b4fa;
  --mocha-lavender: #b4befe;
  --mocha-sapphire: #74c7ec;
  --mocha-sky: #89dceb;
  --mocha-teal: #94e2d5;
  --mocha-green: #a6e3a1;
  --mocha-yellow: #f9e2af;
  --mocha-peach: #fab387;
  --mocha-maroon: #eba0ac;
  --mocha-red: #f38ba8;
  --mocha-mauve: #cba6f7;
  --mocha-pink: #f5c2e7;
  --mocha-flamingo: #f2cdcd;
  --mocha-rosewater: #f5e0dc;
}

/* Force dark background on root elements */
html, body {
  background-color: #1e1e2e !important;
  color: #cdd6f4 !important;
  min-height: 100vh;
}

body.customer-body {
  background-color: #11111b !important;
}

/* Consistent styling for status indicators */
.status-scheduled { background-color: rgba(249, 226, 175, 0.2); color: var(--mocha-yellow); }
.status-confirmed { background-color: rgba(166, 227, 161, 0.2); color: var(--mocha-green); }
.status-completed { background-color: rgba(137, 220, 235, 0.2); color: var(--mocha-sky); }
.status-cancelled { background-color: rgba(243, 139, 168, 0.2); color: var(--mocha-red); }
.status-no_show { background-color: rgba(243, 139, 168, 0.2); color: var(--mocha-red); }

/* Consistent card hover effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  border-color: var(--mocha-mauve);
}

/* Enhanced card styles for customer dashboard */
.dashboard-card {
  background: var(--mocha-mantle);
  border: 1px solid var(--mocha-surface0);
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.dashboard-card:hover {
  border-color: var(--mocha-surface1);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

/* Hero section gradient */
.hero-gradient {
  background: linear-gradient(135deg, var(--mocha-base) 0%, var(--mocha-mantle) 100%);
}

/* Section header styles */
.section-header {
  background: linear-gradient(to right, var(--mocha-base), var(--mocha-mantle));
  border-bottom: 1px solid var(--mocha-surface0);
}

/* Empty state animation */
@keyframes gentle-pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

.animate-gentle-pulse {
  animation: gentle-pulse 2s ease-in-out infinite;
}

/* Consistent button styles */
.btn-primary {
  background: linear-gradient(to right, var(--mocha-mauve), var(--mocha-pink));
  color: var(--mocha-crust);
  font-weight: 500;
}

.btn-secondary {
  background-color: var(--mocha-surface0);
  color: var(--mocha-text);
}

.btn-danger {
  background-color: var(--mocha-red);
  color: var(--mocha-crust);
}

/* Custom scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--mocha-mantle);
}

::-webkit-scrollbar-thumb {
  background: var(--mocha-surface0);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--mocha-surface1);
}

/* Custom scrollbar for service lists */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

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

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--mocha-surface1);
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--mocha-surface2);
}

/* FullCalendar customizations */
.fc-button {
  background-color: var(--mocha-surface0) !important;
  color: var(--mocha-text) !important;
  border-color: var(--mocha-surface1) !important;
  box-shadow: none !important;
}

.fc-button:hover {
  background-color: var(--mocha-surface1) !important;
  border-color: var(--mocha-mauve) !important;
}

.fc-button-active {
  background: linear-gradient(to right, var(--mocha-mauve), var(--mocha-pink)) !important;
  border-color: var(--mocha-mauve) !important;
  color: var(--mocha-crust) !important;
}

.fc-today {
  background-color: rgba(203, 166, 247, 0.1) !important;
}