
/* Overlay */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Popup Box */
.popup-box {
  background: #ffffff;
  width: 900px;
  position: relative;
  max-width: 95%;
  padding: 30px;
  border-radius: 12px;
}

.popup-box,
.slot-container {
  position: relative;
  padding: 32px 56px 30px; /* left & right space for arrows */
  border-radius: 12px;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 22px;
  cursor: pointer;
}

/* Clinic Card */
.clinic-card {
  display: flex;
  flex-direction: column;
  gap: 12px;

  background: #eaf6ff;
  padding: 18px;
  border-radius: 8px;
  justify-content: space-between;
}

.clinic-info p,
.clinic-time p {
  margin: 0;
}

.clinic-card p {
  margin: 4px 0;
  font-size: 14px;
}

.clinic-card strong {
  font-size: 15px;
}

.book-btn {
  background: #3b5cff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 12px;
  align-self: flex-start;
  border: none;
  padding: 8px 14px;
}

.clinic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 600px) {
  .clinic-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SLOT POPUP ===== */
.slot-container {
  background: #fff;
  width: 90%;
  max-width: 1000px;
  margin: auto;
  border-radius: 12px;
  padding: 20px 24px 30px;
}

.slot-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 3;
  background: #fff;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f1f1;
}

.slot-top h3 {
  margin: 0;
  font-size: 18px;
}

.slot-top p {
  margin: 4px 0 0;
  color: #555;
  font-size: 14px;
}

.slot-selected-date {
  font-weight: 600;
  color: #1f2937;
}

/* DATE STRIP */
.slot-date-strip {
  display: flex;
  align-items: center;
 margin: 24px 0;
  gap: 12px;
}

.arrow {
  border: none;
   background: #f2f2f2;
  font-size: 22px;
  cursor: pointer;
  color: #555;

  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.arrow.left {
  margin-right: 12px;
}

.arrow.right {
  margin-left: 12px;
}

.arrow:hover {
  background: #e0e0e0;
}

.date-tabs {
  display: flex;
  flex: 1;
  justify-content: flex-start;
  gap: 10px;
  border-bottom: 2px solid #eee;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

.date-tab {
  padding: 10px 14px;
  text-align: center;
  cursor: pointer;
  flex: 0 0 auto;
  min-width: 130px;
}

.date-tab.active {
  border-bottom: 3px solid #1cb6f1;
}

.date-tab h4 {
  margin: 0;
  font-size: 14px;
}

.date-tab span {
  font-size: 12px;
  color: green;
}

/* SLOT SECTIONS */
.session-block {
  margin-top: 24px;
}

.session-block h4 {
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.slots {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.slot-btn {
  padding: 10px 16px;
  border: 1px solid #1cb6f1;
  background: #fff;
  color: #1cb6f1;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.slot-btn:hover {
  background: #1cb6f1;
  color: #fff;
}

/* NO SLOTS */
.no-slots {
  text-align: center;
  padding: 40px 0;
}

.no-slots-wrapper {
  text-align: center;
  padding: 40px 20px;
}

.no-slots-icon {
  width: 64px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.no-slots-title {
  font-size: 18px;
  font-weight: 600;
  color: #ff4d4f; /* DIFFERENT COLOR */
  margin-bottom: 6px;
}

.no-slots-sub {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
}

.next-availability-btn {
  background: #1cb5e0;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

.next-availability-btn:hover {
  opacity: 0.9;
}
