/* ===== General Body & Overlay ===== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('bg.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #333;
}

.overlay {
  min-height: 100vh;
  padding: 40px 20px;
}

/* ===== Logo ===== */
.logo {
  max-width: 100px;
  margin: 0 auto 20px auto;
  display: block;
}

/* ===== Tabs ===== */
.nav-tabs .nav-link {
  color: #8e8bb5;
  border: none;
  font-weight: 500;
  transition: 0.3s;
  background-color: #f7f7f7;
  border-radius: 6px;
  margin: 2px;
}
.nav-tabs .nav-link.active {
  background-color: #8e8bb5;
  color: #fff;
  border-radius: 6px;
}

/* ===== Service Card ===== */
.service-card {
  background: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out;
}
.service-card:hover {
  transform: translateY(-4px);
}

/* ===== Service Header ===== */
.service-header-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
.service-title {
  color: #8e8bb5;
  font-weight: bold;
  text-align: left;
}
.service-meta {
  font-weight: 600;
  color: #93A0B8;
  text-align: right;
  white-space: nowrap;
}
.service-description {
  text-align: left;
  margin-top: 5px;
  margin-bottom: 0px;
}

/* ===== Loader ===== */
.spinner-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 120px;
  margin-top: 20px;
}
.spinner-container .spinner-border {
  color: #8e8bb5;
}
.spinner-container div {
  margin-top: 10px;
  color: #8e8bb5;
  font-weight: 500;
}

/* ===== Theme Modal ===== */
.theme-modal {
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.15);
}
.theme-header {
  background-color: #8e8bb5;
  color: #fff;
}

/* ===== Booking Buttons ===== */
.book-btn,
#sendBooking,
#confirmOpenViber {
  background-color: #8e8bb5 !important;
  color: #fff !important;
  border: none !important;
  font-weight: 600;
  transition: 0.2s ease;
}
.book-btn:hover,
#sendBooking:hover,
#confirmOpenViber:hover {
  background-color: #7a77a7 !important;
  transform: translateY(-2px);
}

/* Cancel button for Viber modal */
#cancelOpenViber {
  background-color: #dc3545 !important;
  color: #fff !important;
  border: none !important;
  font-weight: 600;
  transition: 0.2s ease;
}
#cancelOpenViber:hover {
  background-color: #b52a37 !important;
  transform: translateY(-2px);
}

/* ===== Toast Styling ===== */
.toast-container {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  text-align: center;
  min-width: 250px;
}
.toast {
  padding: 12px 20px;
  border-radius: 8px;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0.95;
}
.toast.success {
  background-color: #4BB543;
}
.toast.error {
  background-color: #FF4C4C;
}
#bookingToast {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  max-width: 90%;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  opacity: 0.95;
  text-align: center;
  z-index: 9999;
  display: none;
}
#bookingToast.show {
  display: block;
}

/* ===== Text Color ===== */
.text-purple {
  color: #8e8bb5 !important;
}
/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float i {
  line-height: 60px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

/* ===== Scroll fix when modal is open ===== */
body.modal-open {
  overflow-y: auto !important;
}
.viber-btn {
  background-color: #7360f2 !important;
}
.viber-btn:hover {
  background-color: #5b48c7 !important;
}

.whatsapp-btn {
  background-color: #25D366 !important;
}
.whatsapp-btn:hover {
  background-color: #1ebe5d !important;
}
.social-icons {
  margin-top: 10px;
  margin-bottom: 20px;
}
.social-icons a {
  display: inline-block;
  margin: 0 8px;
  font-size: 2rem;
  color: #8e8bb5;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: #6d5a88;
}
.text-warning{
    color:  #FF0000;
}
/* ===== Responsive ===== */
@media (max-width: 576px) {
  .service-title {
    font-size: 1rem;
  }
  .service-meta {
    font-size: 0.9rem;
    margin-top: 4px;
  }
  #viberConfirmModal .modal-footer .btn {
    width: 95%;
    margin-top: 8px;
  }
}
