@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

/* ----- SHORTER BANNER ----- */
[class*="banner"],
.sb-banner,
.banner,
.header-image,
.sb-header-image,
.company-banner {
  max-height: 200px !important;
  overflow: hidden !important;
}

/* ----- BANNER BOOK NOW BUTTON ----- */
.sb-banner .btn,
.sb-banner a,
.banner .btn,
.banner a,
[class*="banner"] .btn,
[class*="banner"] a.btn,
.book-now-btn,
a.book-now {
  background: #0066cc !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 12px 32px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

/*
  =============================================
  PASS WITH PASS - SIMPLYBOOK BOOKING PAGE CSS
  Matches the tutoring page design system
  =============================================
*/

/* ----- GLOBAL FONT OVERRIDE ----- */
body,
body *,
#events,
#events *,
#eventForm,
#eventForm *,
input,
select,
textarea,
button,
a {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* ----- BODY & BACKGROUND ----- */
body {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* ----- LOADING INDICATOR ----- */
div#loading {
  color: #64748b !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

/* ----- EVENT / SERVICE CARDS ----- */
#events h3 {
  font-weight: 700 !important;
  font-size: 16px !important;
  color: #0f172a !important;
  margin-bottom: 4px !important;
}

#events p.duration,
#events div.duration {
  font-size: 13px !important;
  color: #64748b !important;
  font-weight: 500 !important;
}

#events p.description,
#events div.description {
  font-size: 14px !important;
  color: #475569 !important;
  line-height: 1.6 !important;
}

#events .event_price {
  font-weight: 700 !important;
  color: #0066cc !important;
  font-size: 16px !important;
}

#events .selectedEvent {
  background: #e8f4fd !important;
  border: 2px solid #0066cc !important;
  border-radius: 12px !important;
  padding: 16px !important;
}

/* ----- RESERVE / SELECT BUTTONS ----- */
#events input.reserve_time_btn {
  background: #0a1628 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 12px 28px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.15) !important;
}

#events input.reserve_time_btn:hover {
  background: #0066cc !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25) !important;
}

#events input.select_another_btn {
  background: transparent !important;
  color: #64748b !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 999px !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

#events input.select_another_btn:hover {
  border-color: #0066cc !important;
  color: #0066cc !important;
  background: #e8f4fd !important;
}

/* ----- FORM HEADINGS ----- */
#eventForm #start_date-block-container h3,
#eventForm #timeline-container h3 {
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #0f172a !important;
  margin-bottom: 12px !important;
}

/* ----- FORM LABELS ----- */
#start_date-block-container .zend_form dt,
#start_date-block-container .zend_form dt b,
#start_date-block-container .zend_form dd label {
  font-weight: 600 !important;
  font-size: 13px !important;
  color: #334155 !important;
}

/* ----- SAVE / SUBMIT BUTTON ----- */
#eventForm #save_button {
  background: #0a1628 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 14px 32px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.15) !important;
}

#eventForm #save_button:hover {
  background: #0066cc !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25) !important;
}

/* ----- FORM INPUTS ----- */
#eventForm input[type="text"],
#eventForm input[type="email"],
#eventForm input[type="tel"],
#eventForm input[type="number"],
#eventForm input[type="password"],
#eventForm select,
#eventForm textarea {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  transition: all 0.2s ease !important;
}

#eventForm input[type="text"]:focus,
#eventForm input[type="email"]:focus,
#eventForm input[type="tel"]:focus,
#eventForm input[type="number"]:focus,
#eventForm input[type="password"]:focus,
#eventForm select:focus,
#eventForm textarea:focus {
  border-color: #0066cc !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1) !important;
  background: #ffffff !important;
}

#eventForm dd.extention_data {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 16px !important;
  margin: 8px 0 !important;
}

dd.extention_data dl.zend_form dt,
dd.extention_data dl.zend_form dd label {
  font-weight: 600 !important;
  font-size: 13px !important;
  color: #334155 !important;
}

/* ----- CALENDAR / DATEPICKER (jQuery UI) ----- */
div.ui-widget-content {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  color: #0f172a !important;
}

div.ui-widget-header {
  background: #f8fafc !important;
  border: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-radius: 12px 12px 0 0 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  padding: 12px !important;
}

.ui-datepicker th {
  font-weight: 700 !important;
  font-size: 12px !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 8px 4px !important;
}

.ui-datepicker td a,
.ui-datepicker td span {
  border-radius: 8px !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  text-align: center !important;
  padding: 6px !important;
  transition: all 0.15s ease !important;
}

.ui-datepicker td a:hover {
  background: #e8f4fd !important;
  color: #0066cc !important;
}

.ui-datepicker .ui-state-active {
  background: #0066cc !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}

.ui-datepicker .ui-state-highlight {
  border: 2px solid #0066cc !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  background: transparent !important;
}

.ui-datepicker .ui-state-disabled span {
  color: #cbd5e1 !important;
}

.ui-datepicker-prev,
.ui-datepicker-next {
  cursor: pointer !important;
  border-radius: 8px !important;
  transition: all 0.15s ease !important;
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
  background: #e8f4fd !important;
}

/* ----- TIMELINE / TIME SLOTS ----- */
#timeline-container table.timeline {
  border-collapse: separate !important;
  border-spacing: 4px !important;
}

.timeline td {
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 8px 12px !important;
  transition: all 0.2s ease !important;
  text-align: center !important;
}

.timeline td.free_time {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  cursor: pointer !important;
}

.timeline td.free_time:hover {
  border-color: #0066cc !important;
  background: #e8f4fd !important;
  color: #0066cc !important;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1) !important;
}

.timeline td.selected_time {
  background: #0066cc !important;
  color: #ffffff !important;
  border: 1px solid #0066cc !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2) !important;
}

.timeline td.reserved_time {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #fa6c67 !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

.timeline td.not_worked_time {
  background: #f1f5f9 !important;
  color: #cbd5e1 !important;
  cursor: default !important;
  border: 1px solid transparent !important;
}

/* ----- GENERAL ----- */
a {
  color: #0066cc !important;
  text-decoration: none !important;
}

a:hover {
  color: #0055aa !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #0f172a !important;
  font-weight: 700 !important;
}

hr {
  border-color: #e2e8f0 !important;
  opacity: 0.5 !important;
}

/* ----- SCROLLBAR ----- */
::-webkit-scrollbar {
  width: 6px !important;
}

::-webkit-scrollbar-track {
  background: #f8fafc !important;
}

::-webkit-scrollbar-thumb {
  background: #e2e8f0 !important;
  border-radius: 3px !important;
}

::-webkit-scrollbar-thumb:hover {
  background: #cbd5e1 !important;
}