

.display_none {
	display: none;
}

.property-emoji-row {
  margin: 0;
  padding: 0;
	position: relative;
	    min-width: 150px;
	max-width: 220px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px; /* consistent spacing between emojis */
  font-size: 1.5rem; /* or whatever size you want */
  line-height: 1.2;	
}

.emoji {
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}



.Standard_Resort_View::after  {
  content: "🌴"; /*  palm tree */
  display: inline-block;      
  font-size: 1.5em; 
}

.Ocean_View::after  {
  content: "🌊"; /*  wave */
  display: inline-block;    
  font-size: 1.5em; 
}

.Ocean_Front::after  {
  content: "🏖️"; /*  beach umbrella */
  display: inline-block;   
  font-size: 1.5em; 
}

.King_Bed::after  {
  content: "🛏️"; /*  one bedroom */
  display: inline-block;  
  font-size: 1.5em; 
}


.Two_King_Beds::after  {
  content: "🛏️🛏️"; /*  two bedroom */
  display: inline-block;     
  font-size: 1.5em; 
}

.Three_King_Beds::after  {
  content: "🛏️🛏️🛏️"; /*  three bedroom*/
  display: inline-block;     
  font-size: 1.5em; 
}


.Full_Kitchen::after  {
  content: "🍳";
  display: inline-block;
  font-size: 1.5em; 
}

.Kitchenette::after  {
  content: "🍴";
  display: inline-block;
  font-size: 1.5em; 
}

.Pullout_Couch::after  {
  content: "🛋️";
  display: inline-block;
  font-size: 1.5em; 
}

.Lanai::after  {
  content: "🩴";
  display: inline-block;
  font-size: 1.5em; 
}
.Living_Room::after  {
  content: "🖼️";
  display: inline-block;
  font-size: 1.5em; 
}

/* Universal box sizing */
* {
  box-sizing: border-box;
}


#bookNowBtn:disabled {
  background-color: #cccccc;
  color: #666666;
  cursor: not-allowed;
}




#interval-popup {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#interval-popup.hidden {
  display: none;
}

#interval-popup .popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

#interval-popup .popup-content {
  position: relative;
  background-color: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  z-index: 1;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

#interval-popup .popup-content button {
  margin-top: 15px;
  padding: 8px 16px;
  border: none;
  background-color: #d6b161;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

#interval-popup .popup-content button:hover {
  background-color: #b79e4a;
}







.info-group.disabled {
  opacity: 0.5;

}




.info-form {
  max-width: 500px;
  margin: 20px auto;
}

.info-group {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px 20px 10px 20px;

  margin-bottom: 20px;
  background-color: #fff;
}

.section-title {
  font-weight: bold;
  font-size: 1.3em;
  color: #333;
  margin-bottom: 15px;
  border-bottom: 2px solid #006699;
  padding-bottom: 5px;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}

.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"] {
  padding: 8px 12px; /* add horizontal padding inside the input */
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  max-width: 300px;  /* prevents the input from going to the far right edge */
  box-sizing: border-box;
}


.form-row label {
  text-align: right;
  font-weight: bold;
}


.form-row.checkbox-row {
  display: flex;
  align-items: center;
  margin-top: 5px;
  margin-bottom: 20px;
}

.form-row.checkbox-row label {
  font-weight: normal;
  margin-left: 5px;
  text-align: left;
}

.form-actions {
  text-align: center;
  margin-top: 40px;
}

.form-actions button {
  padding: 8px 16px;
  margin: 5px;
  border: none;
  background-color: #006699;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.form-actions button:hover {
  background-color: #004e80;
}


.info-section {
  max-width: 600px;
  margin: auto;
  padding: 15px;
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 15px;
}

#sameAsBooker {
  margin-right: 8px;
}






.booking-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 20px;
  max-width: 800px;
  margin: 20px auto;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-size: 17px;
}

.booking-summary .summary-image {
  flex: 0 0 280px;
  margin-right: 20px;
}

.booking-summary .summary-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  margin-bottom: 10px; /* smaller space under image */
}

.booking-summary .summary-details {
  flex: 1 1 300px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 4px 8px; /* tighter gaps between rows */
  align-items: center;
}

.booking-summary .summary-details .label {
  font-weight: bold;
  color: #333;
  text-align: right;
  padding-right: 4px;
}

.booking-summary .summary-details .value {
  color: #444;
  text-align: left;
}


@media (max-width: 850px) {
  .booking-summary {
    flex-direction: column;
    align-items: center;
  }
  .booking-summary .summary-image {
    margin: 0 0 10px 0;
    width: 80%;
    max-width: 300px;
    flex: none; /* removes flex-basis 280px from horizontal mode */
  }
  .booking-summary .summary-details {
    flex: none;
    width: 100%;
    max-width: 400px;
    grid-template-columns: 120px 1fr;
    gap: 4px 6px;
    margin-top: 10px;
  }
  .booking-summary {
    font-size: 15px;
  }
}






.select-all-link {
  margin-left: auto;
  color: white;              /* match surrounding text color */
  text-decoration: none;     /* remove underline */
  cursor: pointer;           /* keep pointer for usability */
  font-size: 0.9em;
  font-weight: normal;       /* or bold if you prefer */
}
.select-all-link:hover {
  color: #d6b161;            /* optional subtle hover if you like */
}

.justify_space_between {
	justify-content: space-between;
    display: flex;
}

.property-label,
.property-caret {
  cursor: pointer;
}

.property-caret {
  margin-left: 4px;
}


.select-all-link:hover {
  color: #0056b3;
}

.property-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}


.spacer-top-sm {
    margin-top: 12px; /* adjust as needed */
}

.checkmark {
  color: white;                     /* white checkmark */
  font-weight: bold;
  font-size: 1.2em;
  display: inline-block;
  background-color: green;         /* solid green background */
  border-radius: 50%;
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 24px;
  box-shadow: 0 0 4px rgba(0, 128, 0, 0.4);
}






.interval-message {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 16px;
    margin-top: 12px;
    background: linear-gradient(135deg, #e6f4ea, #ffffff);
    border: 1px solid #66bb6a;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #2e7d32;
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.2);
    font-family: 'Segoe UI', sans-serif;
    transition: all 0.3s ease-in-out;
}

.interval-message:hover {
    background: linear-gradient(135deg, #c8e6c9, #e8f5e9);
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

.interval-icon {
    margin-right: 8px;
    font-size: 18px;
}








.availability-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;   /* âœ… Forces all children to match height */
  gap: 20px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.unit-info-box {
	position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* âœ… Vertically center content */
  align-items: center;       /* âœ… Horizontally center content */
  text-align: center;
  min-width: 150px;
  padding: 10px;
  border-right: 1px solid #ccc;
}




.unit-view {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.unit-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}
.unit-calendar-wrapper {
  flex-grow: 1;
  overflow-x: auto;
  padding: 1rem;
  display: flex;
  gap: 1rem;
}

.month-calendar {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px;
  background-color: #fff;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content; /* âœ… Let it size to contents */
  min-width: 280px;   /* âœ… Optional: prevent it from getting too narrow */
  max-width: 100%;    /* âœ… Prevent overflow */
}

.month-header {
  text-align: center;
  font-weight: bold;
  padding: 4px;
  
  font-size: 14px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.day-header {
  font-size: 10px;
  padding: 2px;
  text-align: center;
  border: 1px solid #ddd;
  min-height: 36px;
}
.day-cell {
  border: 1px solid #ccc;
  min-height: 50px;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2px;
  background-color: #fff;
}
.day-cell:hover {
  background-color: #cceeff; /* light blue */
  cursor: pointer;
  transition: background-color 0.2s;
}
.day-cell.selected {
  background-color: #3399ff; /* solid blue */
  color: white;
}


.day-cell.half-selected {
  position: relative;
  overflow: hidden;
  background-color: white; /* background for uncolored half */
  color: black;
}

.day-cell.half-selected::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #3399ff; /* blue triangle */
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 0;
  pointer-events: none;
}

.day-cell.half-selected > * {
  position: relative;
  z-index: 1;
  background: transparent;
}


 .checkmark {
  pointer-events: none;
}



.day-number {
  font-weight: bold;
  font-size: 10px;
  line-height: 1.2;
}

.day-price {
  font-size: 10px;
  color: #333;
}

.property-group {
  margin-bottom: 2rem;
}
.property-card {
    position: relative;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    width: 320px;
    text-align: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;

    display: grid;
    grid-template-rows: auto auto auto auto 1fr;
    align-items: center;
    justify-items: center;
    height: 230px; /* Ensures uniform height */
}

.unit-calendar-wrapper {
  flex-grow: 1;
  overflow-x: auto;
  display: flex;
  gap: 1rem;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 34px); /* 7 days per week */
  text-align: center;
  gap: 0;
}

.calendar-grid  {
  font-weight: bold;
  background: #eee;
  padding: 4px;
}
.day-header {
  background: #eee;
  font-weight: bold;
  height: 24px;
  line-height: 1;
  padding: 2px 0;
  font-size: 10px;
}
.calendar-grid .day-cell {
  border: 1px solid #ccc;
  padding: 8px;
  height: 40px;
}

.unit-info {
  min-width: 150px;
}




.tab-buttons {
  display: flex;
  margin: 30px 0 -1px 0; /* pull tabs into panel */
    border-bottom: 1px solid #323232;
}

.tab-btn {
  padding: 10px 25px;
  border: 1px solid #ccc;
  background-color: #eaeaea;
  border-bottom: none;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  cursor: pointer;
  margin-right: 5px;
  font-weight: bold;
  color: #323232;
  position: relative;
  top: 1px; /* visually aligns with content panel */
}

.tab-btn:hover {
  background-color: #ddd;
}

.tab-btn.active {
  background-color: #fff;
  border-color: #ccc;
  border-top: 1px solid #323232;
  border-left: 1px solid #323232;
  border-right: 1px solid  #323232;
  z-index: 2;
}

.tab-content {
  border: 1px solid #323232;
  border-radius: 0 0 8px 8px;
  padding: 20px;
  background-color: white;
  
  z-index: 1;
  position: relative;
}
.tab-wrapper {
  width: 100%;
  margin-top: 30px;
}





  
/* Basic styles for centering page content */
html, body {
  margin: 0;
  padding: 0;
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;  /* Prevent horizontal scroll */
  overflow-y: auto;    /* Allow vertical scrolling */
  background-color: #323232;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
}

/* Wrapper that limits overall content width with a 20px buffer each side */
.wrapper {
  width: 100%;

}

#dropdownContainer {
  display: flex;
  flex-wrap: wrap; /* Ensures dropdowns wrap if needed */
  gap: 20px; /* Space between dropdowns */
  align-content: flex-start; /* Prevent vertical stretching */
  justify-content: center; /* Centers items inside */
  width: fit-content; /* Adapts to the content width */
  max-width: 90vw; /* Prevents it from getting too wide */
  margin: 20px auto 0 auto;  /* Centers the entire container */
  text-align: center; /* Ensures text-based elements stay centered */
}


/* Each Dropdown */
.dropdown {
  display: inline-block;
  /* Let the dropdown size naturally (based on its content)
     but never exceed the parent's width */
  width: auto;
  max-width: 100%;
}

/* Dropdown Button Styling */
.dropdown-button {
  padding: 10px 15px;
  /* Use responsive font sizing that scales only slightly */
  font-size: clamp(16px, 2.5vw, 18px);
  cursor: pointer;
  border: 1px solid #d6b161;
  border-radius: 4px;
  background-color: #323232;
  color: #fff;
  text-align: left;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;        /* Keep text on one line */
  overflow: hidden;           /* Hide any overflow */
  text-overflow: ellipsis;    /* Ellipsis if text is too long */
  width: auto;
  max-width: 100%;
	min-width: 250px;
}

/* Dropdown Caret Styling */
.dropdown-button .caret {
  float: right;
}

/* Button Hover State */
.dropdown-button:hover:not(:disabled) {
  background-color: #323232;
    color:  #0099FF;
  border-color: #fff;
}

/* Disabled Button Styling */
.dropdown-button:disabled {
  background-color: #cce5ff;
  color: #aaa;
  cursor: not-allowed;
}

/* Dropdown List Styling */
.dropdown-list {
  display: none;
  max-height: 300px;
  overflow-y: auto;
  background-color: #323232;
  border: 1px solid #d6b161;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 10px;
  z-index: 1000;
  width: auto;
  max-width: 100%;
  font-size: clamp(16px, 2.5vw, 18px);
}

/* Dropdown List Open State */
.dropdown-list.open {
  display: block;
}

/* Dropdown Item Styling */
.dropdown-item {
    color: #fff;
  white-space: nowrap;
  padding: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: clamp(16px, 2.5vw, 18px);
}

/* Custom Checkbox Styling */
.dropdown-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background-color: white;
  border: 1px solid #d6b161;
  cursor: pointer;
  position: relative;
      outline: none;         /* ðŸ‘ˆ Removes the black outline */
  box-shadow: none;      /* ðŸ‘ˆ Prevents inner shadows from browsers like Firefox */

}

.dropdown-item input[type="checkbox"]:focus {
  outline: none;
  box-shadow: none;
}


.dropdown-item input[type="checkbox"]:checked::after {
  content: "✔";
  position: absolute;
  left: 2px;
  top: -5px;
  font-size: 18px;            /* Larger size */
  font-weight: bold;          /* Bolder checkmark */
  color: #4b2e00;             /* Darker contrast color */
  pointer-events: none;
}


/* Dropdown Item Hover State */
.dropdown-item:hover {
  background-color: #f0f0f0;
  color: #323232;
}



.ownerrez_date_input_wrapper {
  display: flex;
  flex-direction: column; /* Stack text and input */
  align-items: center; /* Center them horizontally */
  justify-content: center; /* Ensures the wrapper content is centered */
  text-align: center;
  gap: 5px; /* Controls spacing between text and input */
  width: 100%; /* Ensures responsiveness */
}

/* Remove extra margin from h4 */
.ownerrez_date_label {
  color: #337ab7;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 5px; /* Reduce space between text and input */
}

/* Input box is centered */
.ownerrez_date_range_label {
  display: block;
  margin: 0 auto;
  width: fit-content;
  min-width: 150px;
  max-width: 90%;
  text-align: center;
}


/* Available Properties Section */
.available-properties-container {
    margin-top: 20px;
    text-align: center;
}

.available-title {
    font-size: 1.5em;
    color: #d6b161;
    margin-bottom: 10px;
}

/* Property List - Flexbox */
.property-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Available Properties Section */
.available-properties-container {
    margin-top: 20px;
    text-align: center;
}

.available-title {
    font-size: 1.5em;
    color: #d6b161;
    margin-bottom: 10px;
}




/* Property Info - Set Fixed Min Height */
.property-info {
    flex-grow: 1; /* Expands to fill available space */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 120px; /* Ensures consistent space for wrapping */
}

/* Property Name & Details */
.property-name {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}



/* Footer - Keeps the Price and Button Aligned */
.property-footer {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}





.booking-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #ccc;
}

.booking-price {
  color: green;
  font-size: 20px;
  font-weight: bold;
  margin-top: 5px;
}

.booking-button {
  margin-top: 8px;
  padding: 8px 16px;
  font-size: 14px;
  background-color: #323232;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.booking-button:hover {
  background-color: #0056b3;
}




/* Resort Header Container */
.property-header-container {
	display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 0;
    margin-top: 30px;
    width: 450px;
    margin-left: auto;
    margin-right: auto;
}

/* Resort Header Styling */
.property-header {
    font-size: 24px;
    font-weight: bold;
    color: #0A0A0A;
    text-align: left;
	max-width: 100%;
    margin: 0;
    padding-bottom: 5px;
	  overflow-wrap: break-word;   /* break long words if needed */
  word-break: break-word;      /* break long words if needed */
}


/* Property Thumbnail */
.property-thumbnail {
    width: 200px;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 600px) {
	.property-thumbnail {
    width: 100px;
}

	.property-header {
		font-size: 16px;
		max-width: 200px;
	}
	.property-header-container {
	margin-top: 0px;	
		width: 300px;
	}

		
}








/* Full-width Underline */
.property-divider {
    width: 100%;
    height: 3px;
    background-color: #007bff;
    margin: 10px 0;
}


/* Property Section */
.property-group {
    width: 100%;
}

/* Property Card Container (for horizontal wrapping) */
.property-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
	    margin-bottom: 25px;
}

/* Property Card */
.property-card {
	position: relative;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    width: 320px;
    text-align: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    
    display: grid;
    grid-template-rows: auto auto auto auto 1fr;
    align-items: center;
    justify-items: center;
    height: 230px; /* Ensures uniform height */
}

.property-card:hover {
    transform: scale(1.05);
}

/* Unit & View Styling */
.property-unit {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.property-view {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}


/* Ensure the interval message is visible only when applicable */
.property-card.has-checkin .property-checkin {
    visibility: visible;
}


/* Total Price */
.property-total {
    font-size: 18px;
    color: #28a745;
    font-weight: bold;
	    margin-bottom: 5px; /* Reduce spacing after price */
    padding-bottom: 0;
    line-height: 1.2;
	    font-size: 28px;
}

/* Select Button */
.select-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 20px;
    transition: background-color 0.2s ease-in-out;
	align-self: end; /* Ensures button always stays at the bottom */
}

.select-button:hover {
    background-color: #0056b3;
}


.interval_message{
	    min-height: 30px;
    margin: 0 0 0;
	    font-size: 16px;
}


/* Only show the ribbon for special units */
.special-unit .ribbon-image {
    display: block;
}


/* Ribbon Image Styling */
.ribbon-image {
position: absolute;
    top: -15px;
    right: -15px;
    width: 50px;
    height: auto;
    z-index: 10;
}




@media (max-width: 600px) {
  .availability-card {
    flex-direction: column;
    align-items: center; /* optionally center the calendar horizontally */
  }
  
  .unit-info-box {
    border-right: none;
    border-bottom: 1px solid #ccc; /* adds a divider between info and calendar */
    width: 100%;
    max-width: 100%;
  }

  .unit-calendar-wrapper {
    justify-content: flex-start; /* allow horizontal scroll to the left */
    width: 100%;
    overflow-x: auto;
  }
	

}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge, and Firefox */
body {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

