/* app/assets/stylesheets/components/booking_calendar.css */

.booking-calendar {
  /* Calendar specific styles */
}

.calendar-header {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

.calendar-grid {
  min-height: 240px;
}

.date-btn {
  transition: all 0.2s ease-in-out;
}

.date-btn:hover {
  transform: translateY(-1px);
}

.selected-date {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important;
  color: white !important;
}

.time-slot {
  transition: all 0.2s ease-in-out;
}

.time-slot:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.available-time {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important;
  color: white !important;
  border-color: #3b82f6 !important;
}

.continue-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  transition: all 0.2s ease-in-out;
}

.continue-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  transform: scale(1.05);
}
/* app/assets/stylesheets/application.css - Clean Version */

/*


 */

/* ===== BASE STYLES ===== */

@import "components/booking_calendar";

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

/* ===== FLASH MESSAGES ===== */
.flash-message {
  z-index: 9999;
  animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ===== SCROLLING ===== */
.overflow-auto {
  -webkit-overflow-scrolling: touch;
}

/* ===== CUSTOM SCROLLBAR ===== */
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ===== SIDEBAR STYLES ===== */
.sidebar-container {
  background: linear-gradient(180deg, #2563eb 0%, #7c3aed 100%);
}

/* Force all text in sidebar to be white - High Priority */
.sidebar-container * {
  color: white !important;
}

/* Sidebar Navigation Items */
.sidebar-nav-item {
  display: flex !important;
  align-items: center !important;
  padding: 12px 16px !important;
  margin: 4px 0 !important;
  border-radius: 8px !important;
  transition: all 0.2s ease-in-out !important;
  text-decoration: none !important;
  color: white !important;
  font-weight: 500 !important;
  font-size: 14px !important;
}

.sidebar-nav-item:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  text-decoration: none !important;
}

.sidebar-nav-item.active {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
}

/* All link states in sidebar */
.sidebar-nav-item:link,
.sidebar-nav-item:visited,
.sidebar-nav-item:hover,
.sidebar-nav-item:focus,
.sidebar-nav-item:active {
  color: white !important;
  text-decoration: none !important;
}

/* Navigation Icons */
.nav-icon {
  width: 20px !important;
  height: 20px !important;
  margin-right: 12px !important;
  flex-shrink: 0 !important;
  stroke: white !important;
  color: white !important;
}

/* Navigation Text */
.nav-text {
  color: white !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
}

/* Sidebar Title and Subtitle */
.sidebar-title {
  color: white !important;
  font-weight: 600 !important;
  font-size: 18px !important;
}

.sidebar-subtitle {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 14px !important;
}

/* User Menu in Sidebar */
.sidebar-container .p-4 * {
  color: white !important;
}

/* ===== DROPDOWN STYLES ===== */
.dropdown-item {
  display: block !important;
  padding: 8px 16px !important;
  color: #374151 !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease-in-out !important;
}

.dropdown-item:hover {
  background-color: #f3f4f6 !important;
  color: #374151 !important;
  text-decoration: none !important;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1023px) {
  .lg\:flex {
    display: none !important;
  }
}

/* Mobile Sidebar Animations */
.mobile-sidebar-enter {
  transform: translateX(-100%);
}

.mobile-sidebar-enter-active {
  transform: translateX(0);
  transition: transform 300ms ease-in-out;
}

.mobile-sidebar-exit {
  transform: translateX(0);
}

.mobile-sidebar-exit-active {
  transform: translateX(-100%);
  transition: transform 300ms ease-in-out;
}

/* ===== UTILITY CLASSES ===== */

/* Remove conflicting text decoration from all sidebar links */
.sidebar-container a,
.sidebar-container a:link,
.sidebar-container a:visited,
.sidebar-container a:hover,
.sidebar-container a:focus,
.sidebar-container a:active {
  color: white !important;
  text-decoration: none !important;
}

/* Ensure spans in sidebar are visible */
.sidebar-container span {
  color: white !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* SVG fixes for sidebar */
.sidebar-container svg {
  stroke: white !important;
  fill: none !important;
  color: white !important;
}

/* ===== DEBUG UTILITIES (Remove after testing) ===== */
.debug-visible {
  background-color: rgba(255, 0, 0, 0.3) !important;
  border: 1px solid red !important;
}

.debug-text {
  background-color: red !important;
  color: yellow !important;
  padding: 2px 4px !important;
}
