@import url("https://fonts.googleapis.com/css2?family=Libre+Caslon+Display&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap");

html,
body {
  height: 100%;
  max-width: 960px;
  margin: 0 auto;
  font-size: 16px;
}

@media only screen and (max-width: 768px) {
  html,
  body {
    font-size: 16px;
    padding: 0;
    margin: 0;
    max-width: 100%;
  }
}

#root {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

@media only screen and (max-width: 600px) {
  body {
    background-color: white;
  }
}

h1,
h2 {
  color: #00a0c4;
  font-size: 2rem;
  font-family: Libre Caslon Display;
  margin: 2rem 0 1rem 0;
}

h2 {
  font-size: 1.5rem;
}

@media only screen and (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.75rem 0;
  }

  h2 {
    font-size: 1.25rem;
    margin: 1.25rem 0 0.75rem 0;
  }
}

strong {
  font-weight: bold;
}

p {
  margin: 1rem 0;
}

a {
  text-decoration: none;
}

blockquote {
  font-style: italic;
  max-width: 50%;
  background: #e5f5f7;
  border-radius: 8px;
  float: right;
  padding: 0 20px;
  font-size: 0.8em;
  line-height: 1.5em;
  margin-top: -50px;
  margin-bottom: 30px;

  + * {
    content: "";
    display: block;
    clear: both;
  }
}

@media only screen and (max-width: 768px) {
  blockquote {
    max-width: 100%;
    float: none;
    margin: 1rem 0;
    padding: 1px 15px;
    font-size: 0.9em;
  }
}

.subject {
  display: none;
}

/* Mobile image adjustments */
@media only screen and (max-width: 768px) {
  #markdown-content img {
    float: none !important;
    margin: 1rem auto !important;
    display: block !important;
  }
}

/* Booking time slot selected state */
.time-slot.selected {
  background-color: #00a0c4 !important;
  color: white !important;
}

/* Mobile booking cards */
.time-slot-card {
  transition: all 0.2s ease;
}

.time-slot-card:hover {
  border-color: #00a0c4;
}

.time-slot-card.selected-card {
  background-color: #00a0c4;
  color: white;
  border-color: #00a0c4;
  transform: none;
}

.time-slot-card.selected-card .text-brand {
  color: white !important;
}

.time-slot-card.selected-card .text-gray-600 {
  color: rgb(229, 231, 235) !important;
}

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

/* Mobile menu enhancements */
#mobile-menu {
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

/* Ensure hamburger icon stays visible above overlay */
#mobile-menu-toggle {
  position: relative;
  z-index: 50;
}

/* Form checkbox labels - prevent wrapping */
form-checkbox label {
  white-space: nowrap;
}

/* Smooth transitions for mobile menu */
@media only screen and (max-width: 768px) {
  body {
    transition: overflow 0.3s;
  }
}

@media only screen and (max-width: 768px) {
  /* Center stars properly and fix spacing */
  #markdown-content span.ti-stars {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }

  #markdown-content img.ti-star {
    margin: 0 0 1px 0 !important;
  }

  #markdown-content div.ti-profile-img {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }

  #markdown-content div.ti-profile-img > img {
    margin-right: -15px !important;
  }

  #markdown-content div.ti-profile-img > img:last-of-type {
    margin-right: 0 !important;
  }
}
