/* ===== Progress bar styles ===== */
.st-progress { margin-bottom:18px; }
.st-progress-steps {
  display:flex;
  align-items:center;
  gap:10px;
  max-width:480px;
  margin-bottom:8px;
}
.st-step-indicator {
  width:36px;
  height:36px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eef6f5;
  color:#05634a;
  font-weight:700;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  box-shadow: 0 2px 6px rgba(2,10,8,0.03);
}
.st-step-active { background:#0ea5a4; color:#fff; }
.st-step-line {
  flex:1;
  height:6px;
  background: linear-gradient(90deg,#e6f3f2 0,#f8fcfb 100%);
  border-radius:6px;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.35);
}
.st-progress-labels {
  display:flex;
  justify-content:space-between;
  max-width:480px;
  font-size:13px;
  color:#6b6b6b;
  margin-top:6px;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}
.st-progress-labels span { width:33%; text-align:center; display:inline-block; }
.st-progress-labels .active { color:#0b8f86; font-weight:700; }

/* ==== PROGRESS BAR ACTIVE LABEL ==== */
.st-progress-labels span.active {
  color: #0ea5a4;
  font-weight: 700;
}

/* Step 2 active হলে "Details" লেবেল হাইলাইট হবে */
.st-step-indicator:nth-child(3).st-step-active ~ .st-progress-labels span:nth-child(2),
.st-step-indicator.st-step-active:nth-of-type(3) ~ .st-progress-labels span:nth-child(2) {
  color: #0ea5a4;
  font-weight: 700;
}

/* ===== Step 1 grid/cards ===== */
.st-room-grid {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:flex-start;
  margin-top:6px;
}

/* Card base */
.st-room-card {
  width: 260px;
  border:2px solid #a7e3d4;   /* হালকা সবুজ বর্ডার */
  border-radius:12px;
  overflow:visible; /* allow shadow */
  background:#fff;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  box-sizing:border-box;
  -webkit-font-smoothing:antialiased;
}

/* card focus for accessibility */
.st-room-card:focus {
  outline: 3px solid rgba(14,165,164,0.25); /* focus এ গাঢ় সবুজ আউটলাইন */
  outline-offset:4px;
}

/* hover & active states */
.st-room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(8,20,18,0.06);
  border-color: #0ea5a4;              /* hover এ গাঢ় সবুজ */
  background-color: #ffffff;          /* hover এ background সাদা থাকবে */
}

.st-room-card.st-room-active {
  border-color: #0ea5a4;              /* active এ গাঢ় সবুজ */
  background-color: #f0fdfa;          /* active এ হালকা সবুজাভ ব্যাকগ্রাউন্ড */
  box-shadow: 0 12px 28px rgba(14,165,164,0.12);
  transform: translateY(-4px);        /* selected এ হালকা উপরে উঠবে */
}


/* Thumbnail */
.st-room-thumb {
  width:100%;
  height:140px;
  overflow:hidden;
  background:#f5f5f5;
  border-top-left-radius:12px;
  border-top-right-radius:12px;
}
.st-room-thumb img {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}

/* Body */
.st-room-body {
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:8px;
  min-height:110px; /* একটু বড় করা যাতে টাইটল+ট্যাগ ঠিক থাকে */
  align-items: center;      /* <-- এটা গুরুত্বপূর্ণ: সব content মাঝখানে align করবে */
  text-align: center;       /* টাইটেল/এক্সার্পট কেন্দ্রভিত্তিক হবে */
}

/* Title — make fully visible, multiline allowed */
.st-room-title {
  margin:0;
  font-size:16px;
  font-weight:700;
  color:#0b3f3a;
  line-height:1.25;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  word-break:break-word;
}

/* hide step-1 description (shortdesc) — strongest */
.st-room-card .st-room-shortdesc,
.st-room-body .st-room-shortdesc,
.st-room-shortdesc {
  display: none !important;
  max-height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}





/* Tags row */
.st-room-tags {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}
.st-tag {
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid #e6f2ef;
  background:#f7fbfa;
  color:#0b6b64;
  line-height:1;
  white-space:nowrap;
}

/* specific tag styles */
.st-tag-price {
  background:#fffaf0;
  color:#a85a11;
  border-color:#ffe4b8;
  font-weight:700;
}
.st-tag-capacity {
  background:#eef9f6;
  color:#0a6b55;
  border-color:#d8f0e7;
}

/* Hover/active */
.st-room-card:hover { transform: translateY(-6px); box-shadow:0 14px 30px rgba(8,20,18,0.06); }
.st-room-card.st-room-active { border-color:#0ea5a4; box-shadow:0 12px 28px rgba(14,165,164,0.12); }

/* Action row */
.st-action-row { margin-top:16px; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.st-action-row .st-selected-info { color:#444; font-size:14px; flex:1; }
.st-btn { padding:10px 18px; border:0; border-radius:10px; font-weight:700; background:#0ea5a4; color:#fff; cursor:pointer; }
.st-btn-disabled { background:#bcdedb; color:#f8fbfb; cursor:not-allowed; }

/* Responsive rules */
@media (max-width:980px){
  .st-room-card { width: 47%; }
  .st-progress-steps, .st-progress-labels { max-width:100%; }
}
@media (max-width:520px){
  .st-room-card { width: 100%; }
  .st-room-thumb { height:160px; }
  .st-step-title { font-size:18px; }
}


/* View Room button */
.st-view-room-btn {
  display:inline-block;
  padding:6px 10px;
  border-radius:8px;
  background:#ffffff;
  border:1px solid #e6f2ef;
  color:#0b6b64;
  font-size:13px;
  text-decoration:none;
  transition: background .12s, border-color .12s, transform .12s;
}
.st-view-room-btn:hover {
  background:#f3f9f8;
  border-color:#cfeee5;
  transform: translateY(-2px);
}

/* Ensure preselected card looks selected on page load */
.st-room-card.st-room-active {
  border-color:#0ea5a4;
  background-color:#f0fdfa;
  box-shadow:0 12px 28px rgba(14,165,164,0.12);
  transform: translateY(-4px);
}

/* ==== Step2 Room Sidebar Styling ==== */
.st-room-sidebar-injected {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid #b7ece7;
  border-radius: 12px;
  background: #f9fefc;
  box-shadow: 0 4px 10px rgba(14,165,164,0.08);
  font-family: "Poppins", system-ui, sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.st-room-sidebar-injected:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(14,165,164,0.14);
}

.st-room-sidebar-injected h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #0b3f3a;
  border-bottom: 1px solid #d7f2f0;
  padding-bottom: 6px;
}

.st-room-sidebar-injected .silvertip-room-info {
  list-style: none;
  padding: 0;
  margin: 0;
}
.st-room-sidebar-injected .silvertip-room-info li {
  margin-bottom: 8px;
  font-size: 14px;
  color: #065f56;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.st-room-sidebar-injected .silvertip-room-info li i {
  color: #0ea5a4;
  min-width: 18px;
  text-align: center;
  font-size: 14px;
  margin-top: 2px;
}

/* Book Now button */
.st-room-sidebar-injected .book-btn {
  display: inline-block;
  margin-top: 10px;
  background: #0ea5a4;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.st-room-sidebar-injected .book-btn:hover {
  background: #0b8f86;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .st-room-sidebar-injected {
    margin-bottom: 14px;
    padding: 12px;
  }
  .st-room-sidebar-injected h3 {
    font-size: 16px;
  }
  .st-room-sidebar-injected .silvertip-room-info li {
    font-size: 13px;
  }
}























/* ==== STEP 2 LAYOUT ==== */
#st-step-2 {
  margin-top: 20px;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #0b3f3a;
}

.st-step2-wrap {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* left side thumbnail */
.st-step2-left {
  flex: 0 0 150px;
}
.st-step2-thumb img {
  width: 150px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #e6f3ef;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

/* right side (info + status + form) */
.st-step2-right {
  flex: 1;
  min-width: 250px;
}

/* ==== ROOM INFORMATION ==== */
.st-room-info-block {
  padding: 14px;
  border: 1px solid #d9efeb;
  border-radius: 12px;
  background: #fafffe;
  margin-bottom: 14px;
}
.st-room-info-block h4 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #094c46;
}
.st-room-info-block #st-room-info-meta {
  font-size: 14px;
  color: #3b6b63;
  margin-bottom: 6px;
}
.st-room-info-block #st-room-info-desc {
  font-size: 13px;
  color: #5a6d69;
  line-height: 1.4;
}

/* ==== ROOM STATUS ==== */
#st-room-status {
  margin-top: 12px;
}
.st-room-available {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  background: #eafaf5;
  color: #05634a;
  border: 1px solid #d9efeb;
  font-weight: 600;
}
.st-room-booked-list {
  padding: 10px;
  border-radius: 10px;
  background: #fff6f6;
  border: 1px solid #f5cccc;
  color: #7a2a2a;
}
.st-room-booked-list ul {
  margin: 6px 0 0 18px;
  padding: 0;
}
.st-room-booked-list li {
  font-size: 13px;
  margin: 2px 0;
}

/* ==== BOOKING FORM ==== */
#st-step2-form {
  margin-top: 16px;
}
#st-step2-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #084c46;
}
#st-step2-form input,
#st-step2-form select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #d9efeb;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  background: #fff;
  box-sizing: border-box;
}
#st-step2-form input:focus,
#st-step2-form select:focus {
  outline: none;
  border-color: #0ea5a4;
  box-shadow: 0 0 0 2px rgba(14,165,164,0.15);
}

/* form action buttons */
#st-step2-form .st-btn {
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
#st-step2-back {
  background: #f3f8f7;
  color: #0b6b64;
  border: 1px solid #d9efeb;
}
#st-step2-submit {
  background: #0ea5a4;
  color: #fff;
}

/* status message */
#st-step2-status {
  margin-top: 10px;
  font-size: 14px;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .st-step2-wrap {
    flex-direction: column;
  }
  .st-step2-left {
    flex: none;
  }
  .st-step2-thumb img {
    width: 100%;
    height: auto;
    max-height: 200px;
  }
}









/* ===== Flatpickr: wider calendar + colored weekday bars ===== */

/* Make the calendar wider on desktop but responsive on small screens */
.flatpickr-calendar {
  min-width: 320px !important;   /* smaller minimum */
  max-width: 420px !important;   /* cap max width */
  width: auto !important;
  padding: 10px !important;
  position: absolute !important;
  transform-origin: center bottom !important;
  /* move it up by its own height + small gap (approx 8px) */
  transform: translateY(calc(-100% - 12px)) !important;
  z-index: 99999 !important;
  /* optional: keep left alignment as before */
  left: auto !important;
}



/* On smaller screens, let it shrink to fit */
@media (max-width: 640px) {
  .flatpickr-calendar {
    min-width: 0;
    width: calc(100% - 24px);    /* small padding left/right */
    max-width: none;
    margin: 8px;
  }
}

/* Weekday bar: use matching green and white text */
.flatpickr-weekdays {
  background: linear-gradient(180deg, #0ea5a4 0%, #0ba196 100%);
  border-radius: 8px;
  padding: 6px 8px;
  margin-bottom: 8px;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.06);
}

/* Individual weekday cells */
.flatpickr-weekday {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 12px;
  opacity: 0.95;
  text-align: center;
  padding: 6px 0;
}

/* Keep spacing between weekday bar and day grid neat */
.flatpickr-weekdays, .flatpickr-weekday {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Slightly increase day grid spacing to match wider calendar */
.flatpickr-days .dayContainer {
  padding: 6px 6px 0 6px;
}

/* Ensure day cells align nicely in wider layout */
.flatpickr-day {
  width: 40px;
  height: 40px;
  line-height: 40px;
}

/* Responsive adjustments for mobile */
@media (max-width: 460px) {
  .flatpickr-day { width: 34px; height: 34px; line-height: 34px; }
  .flatpickr-weekday { font-size: 11px; padding: 4px 0; }
}

/* keep earlier theme styles (selected / disabled) working */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #0ea5a4 !important;
  color: #fff !important;
}
.flatpickr-day.flatpickr-disabled {
  background: #fff2f2 !important;
  color: #9b2c2c !important;
}














/* ===== STEP 3: Confirmation & Add-ons ===== */

#st-step-3 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #083a37;
}

/* Step3 wrapper */
.st-step3-wrap {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

/* Left column: selected room + addons */
.st-step3-wrap > div:first-child {
  flex: 0 0 260px;
}

/* Selected Room Box */
#st-confirm-room-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
  color: #094c46;
}
#st-confirm-room-meta,
#st-confirm-room-dates {
  font-size: 13px;
  color: #3b6b63;
  margin-bottom: 4px;
}

/* Add-on services list */
#st-addons-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#st-addons-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid #e6f2ef;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: background .15s ease, border-color .15s ease;
}
#st-addons-list label:hover {
  background: #f7faf8;
  border-color: #cce7e2;
}
#st-addons-list span:last-child {
  font-weight: 600;
  color: #0b6b64;
}

/* Right column: order summary */
#st-summary-room-price,
#st-summary-total {
  font-weight: 700;
  color: #083a37;
}
#st-summary-addons {
  font-size: 13px;
  color: #3b6b63;
}
#st-summary-addons div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

/* Payment methods */
#st-step-3 label[for^="st-payment"],
#st-step-3 input[type="radio"] {
  cursor: pointer;
}
#st-step-3 input[type="radio"] {
  accent-color: #0b6b64;
}

/* Buttons */
#st-step-3 .st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
}
#st-step3-back {
  background: #f3f8f7;
  color: #0b6b64;
  border: 1px solid #d9efeb;
}
#st-step3-back:hover {
  background: #e6f7f5;
}
#st-step3-finalize {
  background: #0b8c72;
  color: #fff;
  border: none;
}
#st-step3-finalize:hover {
  background: #09785f;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 107, 100, 0.18);
}

/* Status message */
#st-step3-status {
  font-size: 14px;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .st-step3-wrap {
    flex-direction: column;
  }
}





/* booking and cancellation policy*/
#st-step3-policy-wrap {
  margin: 14px 0;
  font-size: 14px;
  color: #234e48;
  z-index: 2;
}

.st-policy-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.st-policy-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #0b8c72;
}

.st-policy-label a {
  color: #0b8c72;
  text-decoration: underline;
}

.st-policy-label a:hover {
  text-decoration: none;
}


/* ========== booking-form.css ========== */

/* policy wrapper: keep inline and ensure error appears just under the checkbox */
#st-step3-policy-wrap {
  margin: 12px 0;
  font-size: 14px;
  color: #234e48;
  z-index: 2;
  position: relative;
}

/* label layout */
.st-policy-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* checkbox look */
.st-policy-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #0b8c72;
  flex: 0 0 auto;
}

/* link style */
.st-policy-label a {
  color: #0b8c72;
  text-decoration: underline;
}
.st-policy-label a:hover {
  text-decoration: none;
}

/* inline error that appears just below the checkbox/label */
#st-step3-policy-wrap .st-field-error {
  display: block;
  margin-top: 8px;
  color: #9b2c2c;       /* red-ish */
  font-size: 13px;
}

/* buttons container should be directly after policy block for CSS sibling rules to work */
.st-step3-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* style the Back and Confirm buttons consistently */
.st-step3-actions .st-btn {
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

/* Back button look */
#st-step3-back.st-btn {
  background: #f3f8f7;
  color: #0b6b64;
  border: 1px solid #d9efeb;
}

/* Confirm button look when enabled */
#st-step3-confirm.st-btn {
  background: #0b8c72;
  color: #fff;
  border: 0;
}

/* --- Replace the problematic :has() rule with this robust rule --- */

/* Visual inactive state when confirm button is disabled */
#st-step3-confirm[disabled],
.st-step3-actions #st-step3-confirm[disabled] {
  opacity: 0.62;
  pointer-events: none;   /* prevents clicks */
  filter: grayscale(8%);
  cursor: not-allowed;
}

/* Ensure enabled state looks clickable */
#st-step3-confirm:not([disabled]) {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

/* If you have generic .st-btn styles that change pointer, ensure they don't override */
.st-step3-actions .st-btn[disabled] {
  pointer-events: none;
}

/* Small accessible focus style for keyboard users when enabled */
#st-step3-confirm:not([disabled]):focus {
  outline: 3px solid rgba(11,140,114,0.18);
  outline-offset: 2px;
}

/* Keep policy error shown directly under policy wrapper (already provided earlier) */
#st-step3-policy-wrap .st-field-error {
  display: block;
  margin-top: 8px;
  color: #9b2c2c;
  font-size: 13px;
}

