/* Main Container */
.fg-room {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #fff;
  font-family: var(--body-font);
}

/* Room Header Top (Title and Price) */
.fg-room__header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.fg-room__header-top .fg-room__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #333;
  font-family: var(--title-font, inherit);
  line-height: 1.2;
}

.fg-room__header-top .fg-room__price {
  font-size: 20px;
  font-weight: 600;
  color: var(--black-color);
  font-family: var(--body-font, inherit);
}

.fg-room__header-top .fg-room__per {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.8;
  margin-left: 4px;
}

/* Header Section */
.fg-room__header {
  margin-bottom: 40px;
}

.fg-room__header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.fg-room__header-left {
  flex: 1;
}

.fg-room__title {
  margin: 0 0 8px 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--theme-color);
  font-family: var(--title-font);
  line-height: 1.2;
}

.fg-room__price {
  font-size: 18px;
  font-weight: 400;
  color: #333;
  font-family: var(--body-font);
}

.fg-room__per {
  opacity: 0.8;
  margin-left: 4px;
}

.fg-room__no-price {
  color: #999;
  font-style: italic;
  font-size: 16px;
}

.fg-room__description {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: black;
  font-family: var(--body-font);
}

.fg-room__description p {
  margin: 0 0 16px 0;
  color: black;
  font-family: var(--body-font);
}

.fg-room__description p:last-child {
  margin-bottom: 0;
}

.fg-room__header-right {
  flex-shrink: 0;
}

.header-button {
  height: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 15px;
}

.header-button .th-btn {
  margin-left: 15px;
  padding: 15px 35px;
  /* Medium Large devices */
}

@media (max-width: 1299px) {
  .header-button .th-btn {
    display: none;
  }
}

.header-button .icon-btn .badge {
  font-size: 12px;
  top: 0;
  right: 0;
  cursor: pointer;
}

.header-button .icon-btn:hover .badge {
  background-color: var(--title-color);
  cursor: pointer;
}

/* .fg-btn--availability {
  display: inline-block;
  padding: 12px 24px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  border-radius: 48px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.fg-btn--availability:hover {
  background: #3d8a4f;
  color: #fff;
  text-decoration: none;
}

.fg-btn:hover{
 width: 100%;
}

.fg-btn:hover,.fg-btn.active{
 color:var(--white-color);
 box-shadow: none;
} */

/* Section Titles */
.fg-room__section-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--theme-color);
  margin: 0 0 20px 0;
  font-family: var(--title-font);
}

/* Room Photos Section */
.fg-room__photos {
  margin-bottom: 40px;
}

.fg-room__gallery {
  position: relative;
}

/* Main Gallery */
.fg-room__gallery-main {
  position: relative;
  margin-bottom: 20px;
}

.fg-room__gallery-slider {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.fg-room__gallery-slide {
  display: none;
  width: 100%;
}

.fg-room__gallery-slide:first-child {
  display: block;
}

.fg-room__gallery-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Navigation arrows */
.fg-room__gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--theme-color);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0.9;
}

.fg-room__gallery-nav:hover {
  background: #1a3d2f;
  opacity: 1;
}

.fg-room__gallery-nav--prev {
  left: 20px;
}

.fg-room__gallery-nav--next {
  right: 20px;
}

/* Pagination dots */
.fg-room__gallery-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fg-room__gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--theme-color);
  border: none;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.fg-room__gallery-dot--active {
  opacity: 1;
}

/* Thumbnail gallery */
.fg-room__gallery-thumbnails {
  position: relative;
  margin-top: 20px;
}

.fg-room__gallery-thumbnails-slider {
  display: flex;
  gap: 10px;
  overflow: hidden;
  padding: 0 30px;
}

.fg-room__gallery-thumbnail {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.fg-room__gallery-thumbnail:hover {
  opacity: 0.8;
}

.fg-room__gallery-thumbnail--active {
  opacity: 1;
  border: 2px solid var(--theme-color);
}

.fg-room__gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Thumbnail navigation */
.fg-room__gallery-thumb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: var(--theme-color);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.fg-room__gallery-thumb-nav:hover {
  background: #1a3d2f;
  opacity: 1;
}

.fg-room__gallery-thumb-nav--prev {
  left: 0;
}

.fg-room__gallery-thumb-nav--next {
  right: 0;
}

/* Highlights Section */
.fg-room__highlights {
  margin-bottom: 40px;
}

.fg-room__highlights-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fg-room__highlights-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

.fg-room__highlights-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #666;
  font-size: 20px;
  line-height: 1.2;
}

.fg-room__highlights-list li:last-child {
  margin-bottom: 0;
}

/* Plugin Content (Visible and styled) */
.fg-room__plugin-content {
  display: block !important;
  margin-top: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 768px) {
  .fg-room {
    padding: 20px 15px;
  }

  .fg-room__header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .fg-room__title {
    font-size: 28px;
  }

  .fg-room__section-title {
    font-size: 20px;
  }

  .fg-room__gallery-img {
    height: 300px;
  }

  .fg-room__gallery-nav,
  .fg-room__gallery .slick-prev,
  .fg-room__gallery .slick-next {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .fg-room__gallery-nav--prev,
  .fg-room__gallery .slick-prev {
    left: 10px;
  }

  .fg-room__gallery-nav--next,
  .fg-room__gallery .slick-next {
    right: 10px;
  }

  .fg-room__gallery-thumbnail {
    width: 100px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  .fg-room__title {
    font-size: 24px;
  }

  .fg-room__price {
    font-size: 16px;
  }

  .fg-btn--availability {
    padding: 10px 20px;
    font-size: 14px;
  }

  .fg-room__gallery-img {
    height: 250px;
  }

  .fg-room__gallery-thumbnail {
    width: 80px;
    height: 60px;
  }
}

/* MOBILE */
@media (max-width: 992px) {
  .fg-room__grid {
    grid-template-columns: 1fr
  }

  .fg-room__box--booking {
    position: static
  }

  .fg-room__hero {
    height: 300px
  }
}

/* Booking Popup Modal */
.fg-booking-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.fg-booking-popup.show {
  display: flex;
}

.fg-booking-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.fg-booking-popup__modal {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease-out;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fg-booking-popup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 0 24px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 24px;
}

.fg-booking-popup__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--theme-color);
  margin: 0;
  font-family: var(--title-font);
}

.fg-booking-popup__close {
  width: 32px;
  height: 32px;
  border: none;
  background: #f3f4f6;
  border-radius: 50%;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.fg-booking-popup__close:hover {
  background: #e5e7eb;
  color: #374151;
}

.fg-booking-popup__content {
  padding: 0 24px 24px 24px;
}

/* Plugin Booking Form Styling */
.fg-booking-form-wrapper {
  /* Reset any existing plugin styles that might conflict */
  margin: 0;
  padding: 0;
}

.fg-booking-form-wrapper .summary {
  margin: 0;
  padding: 0;
}

.fg-booking-form-wrapper .entry-summary {
  margin: 0;
  padding: 0;
}

/* Style the plugin's booking form elements */
.fg-booking-form-wrapper .hb_room_quantity,
.fg-booking-form-wrapper .hb_room_quantity_wrapper {
  margin-bottom: 20px;
}

.fg-booking-form-wrapper .hb_room_quantity label,
.fg-booking-form-wrapper .hb_room_quantity_wrapper label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}

.fg-booking-form-wrapper .hb_room_quantity input,
.fg-booking-form-wrapper .hb_room_quantity_wrapper input,
.fg-booking-form-wrapper .hb_room_quantity select,
.fg-booking-form-wrapper .hb_room_quantity_wrapper select {
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #374151;
  background: #fff;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.fg-booking-form-wrapper .hb_room_quantity input:focus,
.fg-booking-form-wrapper .hb_room_quantity_wrapper input:focus,
.fg-booking-form-wrapper .hb_room_quantity select:focus,
.fg-booking-form-wrapper .hb_room_quantity_wrapper select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.fg-booking-form-wrapper .hb_room_quantity input:hover,
.fg-booking-form-wrapper .hb_room_quantity_wrapper input:hover,
.fg-booking-form-wrapper .hb_room_quantity select:hover,
.fg-booking-form-wrapper .hb_room_quantity_wrapper select:hover {
  border-color: #d1d5db;
}

/* Style the plugin's booking button */
.fg-booking-form-wrapper .hb_button,
.fg-booking-form-wrapper .hb_room_quantity .hb_button,
.fg-booking-form-wrapper .hb_room_quantity_wrapper .hb_button {
  width: 100%;
  padding: 16px 24px;
  background: #ff6b35;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  margin-top: 24px;
}

.fg-booking-form-wrapper .hb_button:hover,
.fg-booking-form-wrapper .hb_room_quantity .hb_button:hover,
.fg-booking-form-wrapper .hb_room_quantity_wrapper .hb_button:hover {
  background: #e55a2b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.fg-booking-form-wrapper .hb_button:active,
.fg-booking-form-wrapper .hb_room_quantity .hb_button:active,
.fg-booking-form-wrapper .hb_room_quantity_wrapper .hb_button:active {
  transform: translateY(0);
}

.fg-booking-form-wrapper .hb_button:before,
.fg-booking-form-wrapper .hb_room_quantity .hb_button:before,
.fg-booking-form-wrapper .hb_room_quantity_wrapper .hb_button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.fg-booking-form-wrapper .hb_button:hover:before,
.fg-booking-form-wrapper .hb_room_quantity .hb_button:hover:before,
.fg-booking-form-wrapper .hb_room_quantity_wrapper .hb_button:hover:before {
  left: 100%;
}

/* Hide any unwanted plugin elements in the popup */
.fg-booking-form-wrapper .hb_room_quantity .hb_room_quantity_wrapper,
.fg-booking-form-wrapper .hb_room_quantity_wrapper .hb_room_quantity_wrapper {
  display: none;
}

/* Ensure proper spacing */
.fg-booking-form-wrapper .hb_room_quantity,
.fg-booking-form-wrapper .hb_room_quantity_wrapper {
  margin-bottom: 16px;
}

.fg-booking-form-wrapper .hb_room_quantity:last-child,
.fg-booking-form-wrapper .hb_room_quantity_wrapper:last-child {
  margin-bottom: 0;
}

/* Additional plugin form styling */
.fg-booking-form-wrapper .hb_room_quantity_wrapper .hb_room_quantity_wrapper {
  display: none;
}

.fg-booking-form-wrapper .hb_room_quantity_wrapper .hb_room_quantity_wrapper:first-child {
  display: block;
}

/* Style any additional plugin elements */
.fg-booking-form-wrapper .hb_room_quantity_wrapper .hb_room_quantity_wrapper label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}

.fg-booking-form-wrapper .hb_room_quantity_wrapper .hb_room_quantity_wrapper input,
.fg-booking-form-wrapper .hb_room_quantity_wrapper .hb_room_quantity_wrapper select {
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #374151;
  background: #fff;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.fg-booking-form-wrapper .hb_room_quantity_wrapper .hb_room_quantity_wrapper input:focus,
.fg-booking-form-wrapper .hb_room_quantity_wrapper .hb_room_quantity_wrapper select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Ensure the plugin's form is properly contained */
.fg-booking-form-wrapper form {
  margin: 0;
  padding: 0;
}

.fg-booking-form-wrapper .hb_room_quantity_wrapper {
  margin-bottom: 20px;
}

.fg-booking-form-wrapper .hb_room_quantity_wrapper:last-child {
  margin-bottom: 0;
}

/* Responsive Design for Booking Popup */
@media (max-width: 768px) {
  .fg-booking-popup__modal {
    width: 95%;
    margin: 20px;
  }

  .fg-booking-form__row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fg-booking-popup__header {
    padding: 20px 20px 0 20px;
  }

  .fg-booking-popup__content {
    padding: 0 20px 20px 20px;
  }
}

/* Notification System */
.fg-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 20px;
  border-radius: 8px;
  color: #fff;
  font-weight: 500;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  max-width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fg-notification--show {
  transform: translateX(0);
}

.fg-notification--success {
  background: #10b981;
}

.fg-notification--error {
  background: #ef4444;
}

.fg-notification--info {
  background: #3b82f6;
}

.description {
  color: black;
}

.hb_quantity {
  color: black;
}

/* Target the paragraph tag inside quantity to ensure black color */
.hb_quantity p {
  color: black !important;
  font-weight: 500;
}

/* Also target any text content directly in the quantity cell */
.hb_quantity {
  color: black !important;
}

.fg-rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.fg-room-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
  overflow: hidden;
}

.fg-room-card__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.fg-room-card__body {
  padding: 18px;
}

.fg-room-card__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.fg-room-card__price {
  font-weight: 700;
  margin-bottom: 10px;
}

.fg-room-card__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: .8;
}

.fg-room-card__actions .th-btn {
  display: inline-block;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Decorative Element for Rooms Archive */
.fg-rooms-archive {
  position: relative;
}

.fg-rooms-decorative-element {
  position: absolute;
  left: 0;
  /* top: 0; */
  bottom: 0;
  /* transform: translateY(-50%); */
  z-index: 1;
  pointer-events: none;
}

.fg-decorative-tree {
  max-width: 200px;
  height: auto;
  /* opacity: 0.3; */
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Ensure content doesn't overlap with decorative element */
.fg-rooms-archive {
  position: relative;
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .fg-rooms-decorative-element {
    display: none;
  }
}

@media (max-width: 1200px) {
  .fg-decorative-tree {
    max-width: 150px;
  }
}

/* ===========================================
   BOY ON ZIP LINE DECORATIVE ELEMENT
   =========================================== */
.fg-boy-decorative-element {
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  z-index: 1;
  pointer-events: none;
}

/* .fg-decorative-boy {
  max-width: 200px;
  height: auto;
  opacity: 0.8;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transform: rotate(-5deg);
} */

/* Responsive adjustments for boy element */
@media (max-width: 768px) {
  .fg-boy-decorative-element {
    left: 80px;
    bottom: 50px;
  }
  
  .fg-decorative-boy {
    max-width: 150px;
  }
}

@media (max-width: 480px) {
  .fg-boy-decorative-element {
    display: none;
  }
}

@media (min-width: 1200px) {
  .fg-boy-decorative-element {
    left: -180px;
    top:0px;
  }
  
  .fg-decorative-boy {
    max-width: 250px;
  }
}

/* ===========================================
   COUPLE HIKERS DECORATIVE ELEMENT
   =========================================== */
.fg-couple-decorative-element {
  position: absolute;
  right: -80px;
  top: 0;
  bottom: 0;
  /* transform: translateY(-50%); */
  z-index: 1;
  pointer-events: none;
}

.fg-decorative-couple {
  max-width: 250px;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  transform: rotate(2deg);
}

/* Responsive adjustments for couple element */
@media (max-width: 1200px) {
  .fg-couple-decorative-element {
    right: -100px;
  }
  
  .fg-decorative-couple {
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  .fg-couple-decorative-element {
    right: -120px;
    top: 60%;
  }
  
  .fg-decorative-couple {
    max-width: 150px;
  }
}

@media (max-width: 480px) {
  .fg-couple-decorative-element {
    display: none;
  }
}

@media (min-width: 1400px) {
  .fg-couple-decorative-element {
    right: -60px;
  }
  
  .fg-decorative-couple {
    max-width: 300px;
  }
}

/* ============================================
   Authentication Modal Styles
   =========================================== */
.fg-auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.fg-auth-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.fg-auth-modal-content {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
}

.fg-auth-modal-overlay.show .fg-auth-modal-content {
  transform: scale(1) translateY(0);
}

.fg-auth-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.fg-auth-modal-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: black;
  font-family: var(--title-font, inherit);
  display: flex;
  align-items: center;
  gap: 10px;
}

.fg-auth-modal-title i {
  font-size: 20px;
}

.fg-auth-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  line-height: 1;
}

.fg-auth-modal-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.fg-auth-modal-body {
  padding: 32px 24px;
  text-align: center;
}

.fg-auth-modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--theme-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(45, 80, 22, 0.2);
}

.fg-auth-modal-icon i {
  font-size: 36px;
  color: #ffffff;
}

.fg-auth-modal-message {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.fg-auth-modal-submessage {
  font-size: 15px;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

.fg-auth-modal-footer {
  display: flex;
  gap: 12px;
  padding: 20px 24px 24px 24px;
  border-top: 1px solid #e5e7eb;
}

.fg-auth-modal-btn {
  flex: 1;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}

.fg-auth-modal-btn-cancel {
  background:#c52912;
  color:white;
}

.fg-auth-modal-btn-cancel:hover {
  background: #c52912;
  color: white;
}

.fg-auth-modal-btn-primary {
  background: var(--theme-color);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.fg-auth-modal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(45, 80, 22, 0.4);
}

.fg-auth-modal-btn-primary:active {
  transform: translateY(0);
}

.fg-auth-modal-btn-primary i {
  font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .fg-auth-modal-content {
    max-width: 100%;
    margin: 20px;
  }
  
  .fg-auth-modal-header {
    padding: 20px 20px 16px 20px;
  }
  
  .fg-auth-modal-title {
    font-size: 20px;
  }
  
  .fg-auth-modal-body {
    padding: 24px 20px;
  }
  
  .fg-auth-modal-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }
  
  .fg-auth-modal-icon i {
    font-size: 32px;
  }
  
  .fg-auth-modal-message {
    font-size: 16px;
  }
  
  .fg-auth-modal-submessage {
    font-size: 14px;
  }
  
  .fg-auth-modal-footer {
    flex-direction: column;
    padding: 16px 20px 20px 20px;
  }
  
  .fg-auth-modal-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .fg-auth-modal-overlay {
    padding: 10px;
  }
  
  .fg-auth-modal-content {
    margin: 10px;
  }
}

/* ===========================================
   ROOM AVAILABILITY BADGE
   =========================================== */
.room-availability-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s 
ease;
}

.room-availability-badge.available {
  background-color: #28a74596;
  color: #ffffff;
  backdrop-filter: blur(5px);
}

.room-availability-badge.not-available {
  background-color: #ef4444;
  color: #ffffff;
}

.room-availability-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for badge */
@media (max-width: 768px) {
  .room-availability-badge {
    top: 8px;
    right: 8px;
    padding: 5px 12px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .room-availability-badge {
    top: 6px;
    right: 6px;
    padding: 4px 10px;
    font-size: 10px;
  }
}

/* ===========================================
   BOOKING FORM SIDEBAR
   =========================================== */
.fg-booking-sidebar {
  position: sticky;
  top: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 24px;
  margin-bottom: 30px;
}

.fg-booking-form__title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0;
  font-family: var(--title-font, inherit);
}

.fg-booking-form__price {
  font-size: 18px;
  font-weight: 600;
  color: var(--theme-color);
  margin-bottom: 24px;
  font-family: var(--body-font, inherit);
}

.fg-booking-form__price span {
  font-size: 14px;
  font-weight: 400;
  color: #666;
  opacity: 0.8;
}

.fg-booking-form__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fg-booking-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fg-booking-form__field label {
  font-size: 13px;
  font-weight: 500;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fg-booking-form__input {
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  background: #fff;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.fg-booking-form__input:focus {
  outline: none;
  border-color: var(--theme-color);
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.fg-booking-form__input:hover {
  border-color: #d1d5db;
}

/* Date Picker Input Styling */
.fg-booking-form__field input[type="text"][id*="check_in_date"],
.fg-booking-form__field input[type="text"][id*="check_out_date"],
.fg-booking-form__field .fg-date-input {
  cursor: pointer;
  position: relative;
  background-color: #fff;
}

.fg-booking-form__field input[type="text"][id*="check_in_date"]:focus,
.fg-booking-form__field input[type="text"][id*="check_out_date"]:focus,
.fg-booking-form__field .fg-date-input:focus {
  cursor: pointer;
}

.fg-booking-form__field input[type="text"][id*="check_in_date"][readonly],
.fg-booking-form__field input[type="text"][id*="check_out_date"][readonly],
.fg-booking-form__field .fg-date-input[readonly] {
  cursor: pointer;
  background-color: #fff;
}

/* Flatpickr Calendar Styling */
.flatpickr-calendar {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e7eb;
  font-family: var(--body-font, inherit);
}

.flatpickr-calendar .flatpickr-day.selected,
.flatpickr-calendar .flatpickr-day.startRange,
.flatpickr-calendar .flatpickr-day.endRange {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
}

.flatpickr-calendar .flatpickr-day:hover {
  background: rgba(45, 80, 22, 0.1);
  border-color: var(--theme-color);
}

.flatpickr-calendar .flatpickr-day.today {
  border-color: var(--theme-color);
  color: var(--theme-color);
  font-weight: 600;
}

.flatpickr-calendar .flatpickr-months .flatpickr-month {
  color: #333;
  fill: #333;
}

.flatpickr-calendar .flatpickr-weekdays {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.flatpickr-calendar .flatpickr-weekday {
  color: #666;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}

.fg-booking-form__field small {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

/* Error Messages */
.fg-booking-form__error {
  display: none;
  margin-top: 6px;
  padding: 8px 12px;
  background-color: #fff3cd;
  border-left: 3px solid #ff9800;
  color: #856404;
  font-size: 13px;
  line-height: 1.4;
  border-radius: 4px;
}

.fg-booking-form__error:before {
  content: "⚠ ";
  font-weight: bold;
  margin-right: 4px;
}

.fg-booking-form__input--error {
  border-color: #ff9800 !important;
  background-color: #fffbf0;
}

.fg-booking-form__input--error:focus {
  border-color: #ff9800 !important;
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1) !important;
}

/* Optional Extras */
.fg-booking-form__extras {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.fg-booking-form__extras-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px 0;
  font-family: var(--title-font, inherit);
}

.fg-booking-form__extras-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fg-booking-form__extra-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fg-booking-form__extra-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fg-booking-form__extra-check {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--theme-color);
}

.fg-booking-form__extra-label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  margin: 0;
  flex: 1;
}

.fg-booking-form__extra-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-left: 28px;
}

.fg-booking-form__extra-qty {
  width: 60px;
  padding: 6px 8px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
}

.fg-booking-form__extra-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.fg-booking-form__extra-price strong {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.fg-booking-form__extra-price small {
  font-size: 12px;
  color: #666;
}

/* Total Section */
.fg-booking-form__total {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 2px solid #e5e7eb;
  display: flex;
  /* flex-direction: column; */
  justify-content: space-between;
  gap: 8px;
}

.fg-booking-form__total-label {
  font-size: 20px;
  font-weight: 500;
  color: #666;
}

.fg-booking-form__total-amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--black-color);
  font-family: var(--title-font, inherit);
}

.fg-booking-form__view-details {
  font-size: 13px;
  color: var(--theme-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.fg-booking-form__view-details:hover {
  color: #1a3d2f;
  text-decoration: underline;
}

/* Submit Button */
.fg-booking-form__submit-btn {
  width: 100%;
  padding: 16px 24px;
  background: #ffc107;
  color: #333;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.fg-booking-form__submit-btn:hover {
  background: #ffb300;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.fg-booking-form__submit-btn:active {
  transform: translateY(0);
}

.fg-booking-form__submit-btn:disabled,
.fg-booking-form__submit-btn[disabled] {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

.fg-booking-form__submit-btn:disabled:hover,
.fg-booking-form__submit-btn[disabled]:hover {
  background: #ccc;
  transform: none;
  box-shadow: none;
}

.fg-booking-form__availability-notice {
  background-color: #fee;
  border: 1px solid #fcc;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
  color: #c33;
}

.fg-booking-form__availability-notice strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.fg-booking-form__availability-notice p {
  margin: 8px 0 0 0;
  font-size: 14px;
  line-height: 1.5;
  color:black;
}

/* Responsive Design */
@media (max-width: 992px) {
  .fg-booking-sidebar {
    position: static;
    margin-top: 30px;
  }
  
  .col-lg-8 {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .fg-booking-sidebar {
    padding: 20px;
  }
  
  .fg-booking-form__title {
    font-size: 18px;
  }
  
  .fg-booking-form__price {
    font-size: 16px;
  }
  
  .fg-booking-form__total-amount {
    font-size: 20px;
  }
}
.fg-room-card__actions {
 text-align: center;
}
