/* Container principal */
#ma-booking-grid {
  background: #ffffff;
  padding: 16px;
  border-radius: 12px;
  max-width: 100%;
  color: #1B2440;
  font-family: 'Outfit', sans-serif;
  overflow-x: none;
  position: relative;
}

/* Header de navegação */
.ma-booking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.ma-nav-button {
  background-color: #24BDC0;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.5s ease;
}

.ma-nav-button:hover {
  background-color: #1aa5a8;
}

/* Grade de horários com rolagem horizontal */
.ma-slots-grid {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  gap: 5px;
  padding: 5px 0;
}

/* Coluna de cada dia */
.ma-slot-column {
  flex: 0 0 calc(25% - 16px);
  min-width: 100px;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Cabeçalho do dia */
.ma-slot-date {
  background: #F7F9FA;
  border: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  color: #1B2440;
  margin-bottom: 8px;
  text-align: center;
}

.ma-day {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: #8A2BE2;
}

.ma-date {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1B2440;
}

/* Lista de horários */
.ma-slot-times {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* Botão de horário */
.ma-slot-time {
  background: #F7F9FA;
  color: #1B2440;
  border: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  width: 100%;
}

.ma-slot-time:hover {
  background: #24BDC0;
  color: #FFFFFF;
}

.ma-slot-time.unavailable {
  color: #ADACAC;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* Setas de navegação estilizadas */
.ma-nav {
  position: absolute;
  top: 3%;
  transform: translateY(-50%);
  background: #1B2440;
  color: #24BDC0;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  cursor: pointer;
  font-size: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
} 

.ma-nav:hover {
  background: #8A2BE2;
  color: #3A506B;
}

.ma-prev {
  left: 5px;
}

.ma-next {
  right: 5px;
}

/* Responsivo */
@media screen and (max-width: 768px) {
  .ma-slot-column {
    flex: 0 0 calc(50% - 16px);
  }
}

@media screen and (max-width: 480px) {
  .ma-slot-column {
    flex: 0 0 calc(100% - 16px);
  }
}

.ma-slot-time.unavailable {
  color: #ADACAC;
  text-decoration: line-through;
  background: #F7F9FA;
  cursor: not-allowed;
}

.ma-confirm-wrapper {
  background: #F7F9FA;
  border-radius: 12px;
  padding: 24px;
  max-width: 500px;
  margin: 0 auto;
  font-family: "Outfit", sans-serif;
  color: #1B2440;
}
.ma-confirm-wrapper button {
  background-color: #24BDC0;
  color: #fff;
  border: none;
  padding: 12px 20px;
  margin-top: 20px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
}
.ma-confirm-wrapper button:hover {
  background-color: #1ea6a9;
}

.btn-cancelar-agendamento {
  font-family: 'Outfit', sans-serif;
  background-color: #24BDC0;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-cancelar-agendamento:hover {
  background-color: #1CA3A5; /* tom mais escuro no hover */
}
