/* ==========================================================================
   1. Rate Cards & Pills Container Alignment
   ========================================================================== */
.rate-card-item { 
  border-width: 1px; 
}

/* ==========================================================================
   2. WebHotelier Live Search Widget & Contact Note (Olive & Gold Theme)
   ========================================================================== */
.booking-widget-card {
  margin-bottom: 2.5rem;
  padding: 1.5rem 1.75rem;
  background-color: #233020; /* Deep olive-charcoal */
  border: 1px solid rgba(197, 160, 89, 0.35); /* Warm gold border tint */
  border-radius: var(--radius, 8px);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.18);
  color: #ffffff;
}

.booking-widget-form .form-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 0.5rem;
}

.booking-widget-form .field-col-date {
  flex: 1.2;
  min-width: 130px;
}

.booking-widget-form .field-col-qty {
  flex: 0.8;
  min-width: 75px;
}

.booking-widget-form .field-col-submit {
  flex: 1.5;
  min-width: 180px;
}

.booking-widget-form label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  margin-bottom: 0.35rem;
  color: #f4f6f4; /* High-contrast warm off-white */
}

.booking-widget-form input[type="date"],
.booking-widget-form select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid #dcdfe3;
  border-radius: var(--radius-sm, 6px);
  background-color: #ffffff;
  box-sizing: border-box;
  font-family: var(--font-body, inherit);
  font-size: 0.9rem;
  color: var(--text-dark, #1c2d37);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Warm Olive Hover */
.booking-widget-form input[type="date"]:hover,
.booking-widget-form select:hover {
  border-color: var(--color-gold, #c5a059);
}

/* Brand Gold Focus Ring */
.booking-widget-form input[type="date"]:focus,
.booking-widget-form select:focus {
  outline: none;
  border-color: var(--color-gold, #c5a059);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.35);
}

.booking-widget-form .btn-submit-widget {
  width: 100%;
  border: none;
  cursor: pointer;
  padding: 0.55rem 0.8rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  height: 38px;
}

.booking-widget-form .btn-submit-widget i {
  margin-left: 0.25rem;
}

/* Dynamic Child Ages Container */
.child-ages-container {
  display: none;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 0.85rem;
  border-radius: var(--radius-sm, 6px);
  border: 1px dashed rgba(197, 160, 89, 0.35);
}

.child-ages-container .child-age-field {
  flex: 1;
  min-width: 120px;
}

.child-ages-container label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  color: #f4f6f4;
}

.child-ages-container select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #dcdfe3;
  border-radius: var(--radius-sm, 4px);
  background-color: #ffffff;
  color: var(--text-dark, #1c2d37);
}

/* Host Messaging Note (Dark Background Variant) */
.booking-host-note {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
  text-align: center;
}

.booking-host-note i {
  color: var(--color-gold);
}

.booking-host-note a {
  color: var(--color-gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.booking-host-note a:hover {
  color: #ffffff;
}

/* ==========================================================================
   3. STRICT 1-ROW COMPACT RATE PILLS (Prevents 2-row wrapping on all screens)
   ========================================================================== */
.rate-cards-grid .rate-values-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;
  width: 100% !important;
  margin-top: 10px !important;
  box-sizing: border-box !important;
}

.rate-cards-grid .rate-value-pill {
  flex: 1 1 0 !important;
  min-width: 0 !important; /* Allows pill to shrink below min-content width */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--bg-alt, #f8faf8) !important;
  border: 1px solid var(--text-accent, #2a9d8f) !important;
  border-radius: 12px !important;
  padding: 3px 1px !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease !important;
}

.rate-cards-grid .rate-value-pill:hover {
  transform: translateY(-1px) !important;
  border-color: var(--primary, #3a5335) !important;
  background-color: #ffffff !important;
}

.rate-cards-grid .occupancy-lbl {
  font-family: var(--font-body) !important;
  font-size: 0.58rem !important;
  font-weight: 600 !important;
  color: var(--text-accent, #2a9d8f) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2px !important;
  margin-bottom: 0 !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  max-width: 100% !important;
}

.rate-cards-grid .price-tag {
  font-family: var(--font-heading) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: var(--primary, #3a5335) !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

/* ==========================================================================
   4. WHAT'S INCLUDED AMENITIES CARD & STATUS PILLS
   ========================================================================== */
.directory-node-card.included-dark-card {
  background-color: var(--primary, #3a5335) !important;
  color: #ffffff !important;
}

.directory-node-card.included-dark-card h3 {
  color: #ffffff !important;
}

.directory-node-card.included-dark-card .included-list li {
  color: #ffffff !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25) !important;
}

.directory-node-card.included-dark-card .included-list li:last-child {
  border-bottom: none !important;
}

/* Base Status Pill (Matches Site's Page Background Token) */
.included-list .status-pill-page-bg {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 95px !important;
  padding: 5px 10px !important;
  border-radius: 50px !important;
  background-color: var(--bg, #ffffff) !important;
  color: var(--text-main, #2c3531) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18) !important;
}

/* Included Badge (Green Check Icon) */
.included-list .status-pill-page-bg.included::before {
  content: "\f058"; /* fa-circle-check */
  font-family: "Font Awesome 6 Free", "FontAwesome" !important;
  font-weight: 900 !important;
  color: #198754 !important;
  margin-right: 5px !important;
}

/* Not Served Badge (Red Cross Icon) */
.included-list .status-pill-page-bg.not-served-pill {
  font-size: 0.68rem !important;
}

.included-list .status-pill-page-bg.not-served-pill::before {
  content: "\f057" !important; /* fa-circle-xmark */
  font-family: "Font Awesome 6 Free", "FontAwesome" !important;
  font-weight: 900 !important;
  color: #dc3545 !important;
  margin-right: 4px !important;
}

/* ==========================================================================
   5. CANCELLATION CARDS (Bigger Icons + Side-by-Side Grid)
   ========================================================================== */
.cancel-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  background-color: var(--bg);
  border: 1px solid rgba(58, 83, 53, 0.15);
  border-radius: var(--radius, 8px);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  margin: 1.5rem 0 0;
}

.cancel-grid .directory-node-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 1.5rem 1rem !important;
  box-sizing: border-box !important;
}

/* Larger Icon Sizing */
.cancel-icon-wrapper {
  font-size: 2.2rem !important; /* Scaled up from 1.4rem */
  margin-bottom: 0.65rem;
  line-height: 1;
}

/* Left Card: Strong Dark Olive Background */
.cancel-yes {
  background-color: var(--primary, #3a5335) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.cancel-yes strong {
  color: #ffffff !important;
  font-size: 0.95rem;
  line-height: 1.25;
}

.cancel-yes span {
  color: #e2f1ed !important;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 4px;
}

.cancel-yes .cancel-icon-wrapper i {
  color: #56c5b6 !important; /* Bright teal checkmark icon */
}

/* Right Card: Soft Warning Tint */
.cancel-no {
  background-color: rgba(200, 157, 84, 0.08) !important;
  color: var(--text-main);
}

.cancel-no strong {
  color: var(--primary, #3a5335) !important;
  font-size: 0.95rem;
  line-height: 1.25;
}

.cancel-no span {
  color: #d97706 !important; /* Warm amber text */
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 4px;
}

.cancel-no .cancel-icon-wrapper i {
  color: #d97706 !important; /* Warm amber icon */
}

@media (max-width: 380px) {
  .cancel-grid .directory-node-card {
    padding: 1.25rem 0.5rem !important;
  }
  
  .cancel-icon-wrapper {
    font-size: 1.8rem !important; /* Slightly scale down on 320px to prevent text crowding */
  }

  .cancel-grid strong {
    font-size: 0.85rem !important;
  }

  .cancel-grid span {
    font-size: 0.78rem !important;
  }
}