/* Custom styles for 99 Motorbike Rental Chiang Mai */

/* Custom Scrollbar for Chat */
#chat-messages::-webkit-scrollbar {
  width: 6px;
}

#chat-messages::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 8px;
}

#chat-messages::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 8px;
}

#chat-messages::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Hide scrollbar for tabs */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Active language button style */
.active-lang {
  background-color: #f59e0b !important;
  color: #020617 !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* Card hover animation */
.bike-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.bike-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 12px 28px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(245, 158, 11, 0.1);
}

/* Chat bubble keyframes */
@keyframes fadeInMsg {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-bubble-animate {
  animation: fadeInMsg 0.25s ease-out forwards;
}

/* Quick chip interactive states */
.quick-chip {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-chip:active {
  transform: scale(0.96);
}

/* Radio button parent highlight styling */
.location-option {
  transition: all 0.2s ease;
}

/* Stepper transitions */
.step-active {
  background-color: #f59e0b !important;
  color: #020617 !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.step-complete {
  background-color: #10b981 !important;
  color: #020617 !important;
}

/* Pulse animation for WhatsApp button highlight */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.7);
  }
}

.whatsapp-glow {
  animation: pulseGlow 2.5s infinite;
}

/* ================= Visual Calendar Picker Styles ================= */
.cal-day-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.cal-day-cell:hover:not(.cal-day-disabled) {
  background-color: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
}

.cal-day-disabled {
  opacity: 0.22;
  cursor: not-allowed;
  pointer-events: none;
}

.cal-day-pickup {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  border-radius: 12px !important;
  z-index: 10;
}

.cal-day-return {
  background: linear-gradient(135deg, #f43f5e, #e11d48) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.4);
  border-radius: 12px !important;
  z-index: 10;
}

.cal-day-in-range {
  background-color: rgba(245, 158, 11, 0.18) !important;
  color: #fef08a !important;
  border-radius: 4px !important;
}

.cal-day-today {
  border: 1px dashed rgba(245, 158, 11, 0.6);
}

.cal-time-pill {
  transition: all 0.15s ease;
}

.cal-time-pill.active {
  background-color: #f59e0b !important;
  color: #020617 !important;
  font-weight: 800 !important;
  border-color: #f59e0b !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}
