/* OVERLAYS */
.sac-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.sac-overlay.open {
  display: flex;
}

/* POPUPS */
.sac-popup,
.sac-modal {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  animation: scaleIn .25s ease;
}

@keyframes scaleIn {
  from { transform: scale(.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* CALENDAR */
#sac-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.sac-day {
  background: #f1f5f9;
  padding: 14px;
  text-align: center;
  cursor: pointer;
  border-radius: 8px;
}
.sac-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sac-calendar-header h2{
    font-size:1.5rem;
}
#sac-slots-title{font-size:1.2rem!important;}
.sac-weekdays,
.sac-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  text-align:center;
  margin-bottom:10px;
}
.sac-weekdays span{
    color:#0C71C3;
}
.sac-day {
  padding: 14px;
  background: #f8fafc;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
}
.sac-time-row button{padding: 0 10px!important}
.sac-day:hover{
    color:#fff;
    background:#0C71C3;
}
.sac-close{padding:0 10px!important; background:#0C71C3!important;border:0!important;color#fff!important;}
.sac-day.active {
  background: #4299e1;
  color: #fff;
}

.sac-times {
  margin-top: 30px;
}

.sac-time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 10px;
}

#sac-prev,#sac-next{padding:0 10px!important;}


.sac-modal {
  max-width: 520px;
  width: 100%;
  padding: 24px;
  border-radius: 12px;
  background: #fff;
}

#sac-booking-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sac-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sac-field label {
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

.sac-field input,
.sac-field select,
.sac-field textarea {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.sac-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sac-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.sac-actions .sac-cancel{
    
}
.sac-actions .sac-confirm{
    
}
.sac-cancel {
  background: transparent!important;
  border: 1px solid #0984e3!important;
  padding: 10px 18px!important;
  border-radius: 8px;
  cursor: pointer;
  color:#E64D3D!important;
}

.sac-confirm {
  background: #0984e3!important;
  color: #fff;
  border: none;
  padding: 10px 22px!important;
  border-radius: 8px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 520px) {
  .sac-grid-2 {
    grid-template-columns: 1fr;
  }
}

