.alert-box {
  background: #fff3f3;
  border: 1px solid #f5c2c7;
  color: #b02a37;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.05);
  margin-top: 15px;
  font-size: 15px;
}

.alert-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.alert-box ul {
  margin: 0;
  padding-left: 20px;
}

.alert-box li {
  margin: 4px 0;
}

.error-link {
  color: #842029;
  font-weight: bold;
  text-decoration: underline;
}
.error-link:hover {
  color: #dc3545;
}

/* Popup background overlay */
.bkpopup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* dark transparent background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show popup */
.bkpopup.show {
  opacity: 1;
  visibility: visible;
}

/* Popup content box */
.booking-popup-content {
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: popupFade 0.4s ease;
}

/* Title */
.booking-popup-content .title {
  font-size: 22px;
  margin-bottom: 15px;
  color: #333;
  font-weight: 600;
}

/* Message */
.booking-popup-content .msg {
  font-size: 16px;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.5;
}

/* Close button */
.booking-popup-content .close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #888;
  transition: color 0.2s ease;
}

.booking-popup-content .close-btn:hover {
  color: #ff5e5e;
}

/* Actions / Button */
.booking-popup-content .actions {
  display: flex;
  justify-content: center;
}

.booking-popup-content .btn-view {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.booking-popup-content .btn-view:hover {
  background-color: #0056b3;
}

/* Popup appear animation */
@keyframes popupFade {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

 /* Calendar grid helpers (assumes your CSS elsewhere styles .date-grid / .date-cell) */
  .date-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:6px; }
  .date-cell { padding:8px; border:1px solid #eee; cursor:pointer; border-radius:8px; }
  .date-cell.inactive { opacity:.4; pointer-events:none; }
  .date-cell.selected { outline:2px solid #0d6efd; }
  .booking-container { display:flex; gap:24px; align-items:flex-start; }
  .time-selection-section { min-width:280px; }

  /* Phone UI */
  .iti { width:100%; }
  .iti__country-list { z-index: 10000; } /* keep dropdown above modals/cards */
  #error_phone.iti-error { display:block !important; }

  /* Loader */
  #booking-loader { display:none; align-items:center; justify-content:center; position:fixed; inset:0; background:rgba(255,255,255,.6); z-index:1050; }
  #booking-loader .spinner { width:48px; height:48px; border:4px solid #ccc; border-top:4px solid #000; border-radius:50%; animation:spin 1s linear infinite; }
  @keyframes spin { 0%{transform:rotate(0)} 100%{transform:rotate(360deg)} }
  
  
  
  
  .booking-message {
  margin-top: 12px;
  padding: 12px 18px;
  border: 1px solid #f5c2c7;
  background-color: #f8d7da;
  color: #842029;
  font-size: 15px;
  border-radius: 8px;
  display: none;
  transition: all 0.3s ease;
}

.booking-message.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

.booking-message .call-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  background: #842029;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.booking-message .call-btn:hover {
  background: #a83232;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}
  

