/* Detail Room Page Styles */
.main-content {
  margin-top: 90px;
  /* Same as other pages for navbar spacing */
  min-height: 250vh;
}

.mobile-sticky-bottom {
  display: none;
}

.sticky-bottom-content {
  display: none;
}

/* Hide mobile duplicate header by default (desktop) */
.room-details-header-mobile {
  display: none;
}

/* Room Details Header */
.room-details-header {
  width: 100%;
  padding: 60px 0 40px;
  box-sizing: border-box;
}

/* Room Name and Reference Section */
.room-name-section {
  margin-left: 200px;
  /* 200px from the left as requested */
  margin-bottom: 15px;
}

.room-title-line {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.room-name {
  font-size: 36px;
  font-weight: var(--font-bold);
  color: var(--black);
  margin: 0;
  line-height: 1.2;
}

.room-reference {
  font-size: 24px;
  font-weight: var(--font-light);
  color: var(--black);
  margin: 0;
  line-height: 1.2;
}

/* Room Description Section */
.room-description-section {
  margin-left: 140px;
  /* 140px from the left as requested */
}

.room-description {
  font-size: 24px;
  font-weight: var(--font-extrabold);
  color: var(--pink);
  margin: 0;
  line-height: 1.3;
  max-width: 800px;
  /* Prevent text from stretching too wide */
}

/* Room Information Section */
.room-info-section {
  width: 100%;
  padding: 40px 0;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.room-info-container {
  width: 1166px;
  display: flex;
  gap: 30px;
  /* Little gap between left and right columns */
}

/* Left Column */
.room-info-left {
  flex: 1;
  max-width: 570px;
  /* Approximately half of 1166px minus gap */
}

/* Tab Menu */
.room-tabs {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
}

.room-tab {
  background: none;
  border: none;
  font-size: 22px;
  font-weight: var(--font-regular);
  color: #606060;
  cursor: pointer;
  padding: 0 0;
  transition: all 0.3s ease;
  position: relative;
}

.room-tab:hover {
  color: var(--blue);
}

.room-tab.active {
  color: var(--blue);
  font-size: 22px;
  font-weight: var(--font-semibold);
}

.room-tab.active::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--blue);
}

/* Tab Content */
.room-tab-content {
  position: relative;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Characteristics */
.characteristics-title {
  font-size: 26px;
  font-weight: var(--font-semibold);
  color: var(--black);
  margin: 0 0 5px 0;
}

/* Add spacing for multiple characteristics sections */
.characteristics-title-spacing {
  margin-top: 40px;
}

.characteristics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.characteristics-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.characteristic-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.characteristic-icon {
  width: 33px;
  height: 33px;
  flex-shrink: 0;
  color: var(--blue);
  touch-action: manipulation;
}

.characteristic-text {
  font-size: 20px;
  font-weight: var(--font-regular);
  color: #606060;
}

/* Unavailable characteristics styling */
.characteristic-unavailable .characteristic-icon {
  filter: saturate(0) brightness(0.85);
  /* This creates a blue tint effect for SVG icons */
}

.characteristic-unavailable .characteristic-text {
  text-decoration: line-through;

  opacity: 0.7;
}

/* Right Column - Image Gallery */
.room-info-right {
  width: 580px;
  /* Fixed width */
  height: 515px;
  /* Fixed height */
  max-width: none;
  /* Remove max-width constraint */
  background-color: var(--white);
  border-radius: 10px;
  /* Changed from 12px to 10px */
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  /* Prevent shrinking */
}

.room-images-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  flex: 1;
}

/* Main Image Display */
.main-image-container {
  width: 550px;
  /* Fixed width */
  height: 350px;
  /* Fixed height */
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  margin: 0 auto;
  /* Center the container */
  position: relative;
  /* For absolute positioning of arrows */
}

/* Main Image Navigation Arrows */
.main-image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.main-image-nav:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.main-image-nav svg {
  color: var(--black);
}

.main-image-nav-prev {
  left: 15px;
}

.main-image-nav-next {
  right: 15px;
}

/* Show arrows on container hover */
.main-image-container:hover .main-image-nav {
  opacity: 1;
  visibility: visible;
}

/* Disabled state */
.main-image-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.main-image-nav:disabled:hover {
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
}

.main-room-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.main-room-image:hover {
  transform: scale(1.02);
}

/* Disable hover effect on mobile */
@media (max-width: 767px) {
  .main-room-image {
    cursor: default;
  }

  .main-room-image:hover {
    transform: none;
  }
}

/* Thumbnail Gallery */
.thumbnail-gallery {
  display: flex;
  align-items: center;
  width: 100%;
  flex-shrink: 0;
  margin-top: auto;
  position: relative;
  /* Add relative positioning for absolute children */
}

.gallery-nav {
  background: rgba(255, 255, 255, 0.9);
  /* Semi-transparent background */
  border: 1px solid #e0e0e0;
  /* Thinner border */
  border-radius: 50%;
  width: 32px;
  /* Smaller size */
  height: 32px;
  /* Smaller size */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color: var(--dark-gray);
  position: absolute;
  /* Position over the thumbnails */
  z-index: 10;
  /* Ensure buttons are above thumbnails */
  backdrop-filter: blur(4px);
  /* Add blur effect for better visibility */
}

.gallery-nav-prev {
  left: 5px;
  /* Position on the left */
}

.gallery-nav-next {
  right: 5px;
  /* Position on the right */
}

.gallery-nav:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
  background-color: rgba(255, 255, 255, 0.95);
  transform: scale(1.1);
}

.gallery-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.gallery-nav svg {
  width: 16px;
  /* Smaller icon */
  height: 16px;
  /* Smaller icon */
  touch-action: manipulation;
}

.thumbnails-container {
  flex: 1;
  overflow: hidden;
  border-radius: 8px;
  width: 100%;
  /* Take full width */
  scroll-behavior: smooth;
}

.thumbnails-track {
  display: flex;
  gap: 8px;
  transition: transform 0.3s cubic-bezier(0.2, 0.65, 0.3, 0.95);
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* Optimize touch interaction */
  touch-action: pan-x;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.thumbnail-item {
  width: 130px;
  /* Updated width */
  height: 107px;
  /* Updated height */
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  border: 2px solid transparent;
  transition: all 0.2s cubic-bezier(0.2, 0.65, 0.3, 0.95);
  /* GPU acceleration */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.thumbnail-item.active {
  border-color: var(--blue);
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
}

.thumbnail-item:hover {
  border-color: var(--pink);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.thumbnail-item:hover .thumbnail-image {
  transform: scale(1.1);
}

/* Image Modal */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.image-modal.active {
  opacity: 1;
  visibility: visible;
}

.image-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.image-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.image-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 30px;
  color: var(--dark-gray);
  cursor: pointer;
  z-index: 3001;
  width: 40px;
  height: 40px;
}

.image-modal-close:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: var(--black);
}

.image-modal-img {
  max-width: 100%;
  max-height: 80vh;
  height: auto;
  display: block;
  border-radius: 8px;
}

.image-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--dark-gray);
  z-index: 3002;
  backdrop-filter: blur(4px);
}

.image-modal-prev {
  left: 20px;
}

.image-modal-next {
  right: 20px;
}

.image-modal-nav:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
  background-color: rgba(255, 255, 255, 0.95);
  transform: translateY(-50%) scale(1.05);
}

.image-modal-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.image-modal-nav:disabled:hover {
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  border-color: #e0e0e0;
  color: var(--dark-gray);
}

.image-modal-nav svg {
  width: 20px;
  height: 20px;
}

/* Floor plan styles */
.floor-plan-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.floor-plan-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.floor-plan-image:hover {
  transform: scale(1.05);
}

/* Floor Plan Modal */
.floor-plan-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.floor-plan-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 30px;
  color: var(--dark-gray);
  cursor: pointer;
  z-index: 2001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: var(--black);
}

.modal-image {
  max-width: 100%;
  max-height: 80vh;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Other Rooms Section */
.other-rooms-section {
  margin-top: 25px;
}

.other-rooms-title {
  font-size: 26px;
  font-weight: var(--font-semibold);
  color: var(--black);
  margin: 0 0 5px 0;
}

.other-rooms-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.other-room-item {
  display: flex;
  align-items: center;
  gap: 50px;
}

.room-code {
  font-size: 16px;
  font-weight: var(--font-semibold);
  color: var(--blue);
  min-width: 60px;
}

.room-details {
  font-size: 16px;
  font-weight: var(--font-regular);
  color: #606060;
}

/* Apartment Description Section */
.apartment-description-section {
  margin-top: 25px;
}

.apartment-description-title {
  font-size: 26px;
  font-weight: var(--font-semibold);
  color: var(--black);
  margin: 0 0 5px 0;
}

.apartment-description-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.apartment-description-paragraph {
  font-size: 16px;
  font-weight: var(--font-regular);
  color: var(--dark-gray);
  line-height: 1.5;
  margin: 0;
  text-align: justify;
}

.apartment-description-paragraph strong {
  font-weight: var(--font-semibold);
  color: var(--black);
}

/* Pricing Section */
.pricing-section {
  margin-top: 45px;
}

.pricing-container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  padding-left: 20px;
}

/* Pricing Columns */
.pricing-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Main Price Styling */
.main-price {
  font-size: 48px;
  font-weight: var(--font-black);
  color: var(--pink);
  line-height: 1;
}

.price-subtitle {
  font-size: 15px;
  font-weight: var(--font-light);
  color: #606060;
  line-height: 1.2;
}

/* Expenses Row */
.pricing-expenses {
  margin-top: 10px;
}

.expenses-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.expenses-icon {
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  touch-action: manipulation;
}

.expenses-price {
  font-size: 20px;
  font-weight: var(--font-bold);
  color: #525252;
}

.expenses-unit {
  font-size: 13px;
  font-weight: var(--font-regular);
  color: #525252;
}

.expenses-subtitle {
  font-size: 12px;
  font-weight: var(--font-regular);
  color: #606060;
}

/* Couple Price Line */
.couple-price-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.couple-icon {
  width: 66px;
  height: 41px;
  flex-shrink: 0;
  touch-action: manipulation;
}

.individual-icon {
  width: 66px;
  height: 41px;
  flex-shrink: 0;
  touch-action: manipulation;
}

/* Pricing Separator */
.pricing-separator {
  font-size: 48px;
  font-weight: var(--font-light);
  color: var(--dark-gray);
  line-height: 1;
  align-self: flex-start;
  margin-top: 10px;
  flex-shrink: 0;
}

/* Individual Price Line */
.individual-price-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* No Couple Allowed Content */
.no-couple-icon {
  width: 74px;
  height: 74px;
  margin-bottom: 8px;
  touch-action: manipulation;
}

.no-couple-text {
  font-size: 12px;
  font-weight: var(--font-regular);
  color: #606060;
}

/* Conditional Display Logic */
/* When couple is NOT allowed */
.pricing-container.couple-not-allowed .pricing-separator {
  display: none;
}

.pricing-container.couple-not-allowed .couple-allowed-content {
  display: none;
}

.pricing-container.couple-not-allowed .couple-not-allowed-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* When couple IS allowed */
.pricing-container.couple-allowed .couple-not-allowed-content {
  display: none;
}

.pricing-container.couple-allowed .couple-allowed-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing-container.couple-allowed .pricing-separator {
  display: block;
}

/* Renting and Reservation Section */
.renting-reservation-section {
  width: 100%;
  padding: 0 0;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.renting-reservation-container {
  width: 1166px;
  display: flex;
  gap: 30px;
  /* Same gap as room info section */
}

/* Left Column: Reservation */
.renting-left {
  flex: 1;
  max-width: 570px;
}

.reservation-title {
  font-size: 26px;
  font-weight: var(--font-semibold);
  color: var(--pink);
  margin: 0 0 30px 0;
}

.reservation-forms {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-block {
  width: 520px;
  background-color: var(--white);
  border-radius: 30px;
  padding: 30px;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  /* Placeholder height */
}

.form-block p {
  color: var(--dark-gray);
  font-size: 16px;
  margin: 0;
  text-align: center;
}

/* Right Column: Rental Conditions */
.renting-right {
  flex: 1;
  max-width: 566px;
}

.rental-conditions-block {
  width: 100%;
}

.conditions-title {
  font-size: 26px;
  font-weight: var(--font-semibold);
  color: var(--black);
  margin: 0 0 25px 0;
}

.conditions-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.condition-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.condition-label {
  font-size: 16px;
  font-weight: var(--font-medium);
  color: var(--black);
  white-space: nowrap;
  flex-shrink: 0;
}

.condition-value {
  font-size: 16px;
  font-weight: var(--font-regular);
  color: #606060;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  flex: 1;
}

.info-icon {
  width: 16px;
  height: 16px;
  cursor: pointer;
  margin-left: 5px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  touch-action: manipulation;
}

.info-icon:hover {
  opacity: 1;
}

/* Availability Block (inside rental conditions) */
.availability-block {
  margin-top: 40px;
  width: 100%;
}

/* Availability Header */
.availability-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.availability-title {
  font-size: 23px;
  font-weight: var(--font-semibold);
  color: var(--black);
  margin: 0;
}

.availability-guide {
  display: flex;
  align-items: center;
  gap: 20px;
}

.guide-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-color {
  width: 16px;
  height: 14px;
  border-radius: 2px;
}

.guide-occupied {
  background-color: #d9d9d9;
}

.guide-available {
  background-color: #00e969;
}

.guide-text {
  font-size: 12px;
  font-weight: var(--font-extralight);
  color: var(--black);
  text-transform: uppercase;
}

/* Months Grid */
.months-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  max-width: 100%;
}

.month-item {
  width: 80px;
  height: 27px;
  border-radius: 4px;
  background-color: #d9d9d9;
  /* Default occupied color */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: var(--font-extralight);
  color: var(--black);
  text-transform: uppercase;
  transition: all 0.3s ease;
}

/* Month availability states */
.month-item.available {
  background-color: #00e969;
}

.month-item.occupied {
  background-color: #d9d9d9;
}

/* Hover effects for better UX */
.month-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* La Zona Block */
.zona-block {
  margin-top: 40px;
  width: 100%;
}

.zona-title {
  font-size: 26px;
  font-weight: var(--font-semibold);
  color: var(--black);
  margin: 0 0 25px 0;
}

.zona-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.zona-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.zona-transport-detail {
  margin-left: 20px;
  /* Indent transport details */
}

.zona-label {
  font-size: 16px;
  font-weight: var(--font-medium);
  color: var(--black);
  white-space: nowrap;
  flex-shrink: 0;
}

.zona-value {
  font-size: 16px;
  font-weight: var(--font-regular);
  color: #606060;
  line-height: 1.4;
  flex: 1;
}

/* Location Block */
.location-block {
  margin-top: 40px;
  margin-bottom: 40px;
  width: 100%;
}

.location-title {
  font-size: 26px;
  font-weight: var(--font-semibold);
  color: var(--black);
  margin: 0 0 25px 0;
}

.location-map-container {
  width: 569px;
  height: 386px;
  background: linear-gradient(180deg, #cfffff 0%, #d6f5fd 100%);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-gray);
  font-size: 16px;
  font-weight: var(--font-medium);
}

.location-map-container::after {
  content: "Google Maps será integrado aquí";
  opacity: 0.6;
}

/* Detailed Reservation Form */
.reservation-form-detailed {
  width: 519px !important;
  height: 783px !important;
  padding: 30px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 25px !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
}

/* New: collapsed state when second form is visible */
.reservation-form-detailed.collapsed {
  height: 733px !important;
  /* less than 50px as requested */
  min-height: 733px !important;
}

/* Date Selection Section */
.date-selection-row {
  display: flex;
  align-items: flex-end;
  position: relative;
  gap: 20px;
  /* Add gap between entrada and salida columns */
}

.date-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.date-label {
  font-size: 20px;
  font-weight: var(--font-medium);
  color: var(--pink);
  text-transform: uppercase;
}

.reservation-date-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: var(--dark-gray);
  cursor: pointer;
  padding: 8px 30px 8px 0;
  border-bottom: 1px solid #e0e0e0;
}

.reservation-date-input::placeholder {
  color: #b8b8b8;
  opacity: 1;
  font-size: 15px;
}

/* Global placeholder styling for inputs and textareas (including vendor fallbacks) */
::-webkit-input-placeholder {
  color: #b8b8b8;
  font-size: 13px;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #b8b8b8;
  font-size: 13px;
  opacity: 1;
}

::-ms-input-placeholder {
  color: #b8b8b8;
  font-size: 13px;
  opacity: 1;
}

::placeholder {
  color: #b8b8b8;
  font-size: 13px;
  opacity: 1;
}

/* Servicios Adicionales Section */
.servicios-section {
  gap: 8px;
}

.servicios-title {
  font-size: 17px;
  font-weight: var(--font-semibold);
  color: var(--black);
  margin: 0;
}

.required-asterisk {
  color: var(--pink);
}

.servicios-subtitle {
  font-size: 14px;
  font-weight: var(--font-regular);
  color: var(--black);
  margin: 0;
}

/* Checkbox Sections */
.checkbox-section-title {
  font-size: 14px;
  font-weight: var(--font-semibold);
  color: var(--pink);
  margin: 0 0 15px 0;
}

.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Add margin bottom only for the pareja checkbox-item */
.checkbox-item.pareja-item {
  margin-bottom: 12px;
}

.custom-checkbox {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  appearance: none;
  border: 2px solid #d0d0d0;
  border-radius: 3px;
  background-color: white;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
}

.custom-checkbox:checked {
  background-color: #ffffff;
  border-color: #00b54b;
}

.custom-checkbox:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #00b54b;
  font-size: 12px;
  font-weight: bold;
}

.checkbox-label {
  font-size: 16px;
  font-weight: var(--font-regular);
  color: #606060;
  cursor: pointer;
  line-height: 1.4;
  flex: 1;
}

.price-text {
  color: #606060;
  font-weight: var(--font-regular);
}

/* Pack Items */
.pack-item .checkbox-label {
  font-size: 16px;
  font-weight: var(--font-regular);
  color: #606060;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pack-details {
  margin-left: 30px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 2px;
}

.pack-subtitle {
  font-size: 13px;
  font-weight: var(--font-light);
  color: #606060;
  cursor: pointer;
  line-height: 1.4;
  flex: 1;
}

.pack-info-item {
  font-size: 13px;
  font-weight: var(--font-light);
  color: #606060;
  cursor: pointer;
  line-height: 1.4;
  flex: 1;
}

/* Form Actions */
.form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.continue-button {
  width: 118px;
  height: 31px;
  background-color: var(--pink);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: var(--font-regular);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.continue-button:hover {
  background-color: #b8396a;
  transform: translateY(-1px);
}

.continue-button:disabled {
  background-color: #b8396a6c;
  transform: translateY(-1px);
  cursor: not-allowed;
}

.arrow-down {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-gray);
  opacity: 0.7;
}

.date-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.date-input {
  width: 100%;
  padding-right: 30px;
  cursor: pointer;
}

.calendar-icon {
  position: absolute;
  right: 0;
  width: 20px;
  height: 20px;
  cursor: pointer;
  touch-action: manipulation;
}

/* Calendar Popup Overrides for Reservation Form */
.reservation-form-detailed .calendar-popup {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  min-width: 300px;
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: none;
  padding: 15px;
  margin-top: 5px;
}

.reservation-form-detailed .calendar-popup.active {
  display: block;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.calendar-nav {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.calendar-nav:hover {
  background-color: #f0f0f0;
}

.calendar-month-year {
  font-weight: var(--font-semibold);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  user-select: none;
}

.calendar-month-year:hover {
  background-color: rgba(208, 66, 120, 0.1);
}

/* Month Selector Dropdown */
.calendar-month-selector {
  max-height: 250px;
  overflow-y: auto;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  margin: 8px 0;
}

.month-selector-list {
  display: flex;
  flex-direction: column;
}

.month-option {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: var(--font-regular);
  color: var(--black);
  transition: all 0.2s ease;
  border-radius: 4px;
  margin: 2px 8px;
}

.month-option:hover {
  background-color: rgba(208, 66, 120, 0.1);
}

.month-option.selected {
  background-color: var(--pink);
  color: var(--white);
  font-weight: var(--font-semibold);
}

/* Custom scrollbar for month selector */
.calendar-month-selector::-webkit-scrollbar {
  width: 6px;
}

.calendar-month-selector::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.calendar-month-selector::-webkit-scrollbar-thumb {
  background: var(--pink);
  border-radius: 3px;
}

.calendar-month-selector::-webkit-scrollbar-thumb:hover {
  background: #b8396a;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-day-header {
  text-align: center;
  font-size: 12px;
  font-weight: var(--font-semibold);
  color: var(--dark-gray);
  padding: 8px 4px;
  min-width: 35px;
}

.calendar-day {
  text-align: center;
  padding: 8px 4px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s ease;
  min-width: 35px;
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-day:hover {
  background-color: rgba(208, 66, 120, 0.1);
}

.calendar-day.selected {
  background-color: var(--pink);
  color: var(--white);
}

.calendar-day.other-month {
  color: #ccc;
}

.calendar-day.disabled {
  color: #ccc;
  cursor: not-allowed;
  background-color: #f5f5f5;
}

.calendar-day.disabled:hover {
  background-color: #f5f5f5;
}

/* Second form small styling helpers */
.form-title {
  font-size: 22px;
  font-weight: var(--font-semibold);
  margin: 0 0 12px 0;
}

/* form-subtitle: hidden by default; shown only when .visible is added */
.form-subtitle {
  display: none;
  font-size: 16px;
  font-weight: var(--font-extralight);
  color: #606060;
  margin: 12px 0 8px 0;
}

.form-subtitle.visible {
  display: block;
}

.row-one {
  width: 100%;
  margin-bottom: 18px;
}

/* row helpers */
.row-two {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;

  /* make the row take the full available width so it matches .input-big containers */
  width: 100%;
  box-sizing: border-box;

  /* distribute space so first child sits on the left and second on the right */
  justify-content: space-between;
  align-items: center;
}

/* make the two children stretch and avoid overflow (important for inputs) */
.row-two>* {
  flex: 1 1 0;
  min-width: 0;
  /* allow shrinking for long content */
}

/* ensure inputs inside row-two stretch to fill their flex area */
.row-two .input-small,
.row-two .input-smaller,
.row-two input[type="date"],
.row-two select {
  width: 100%;
  box-sizing: border-box;
  flex: 1 1 0;
}

/* make input-big fill its wrapper so wrapper + row-two have same visual width */
.input-big {
  width: 100%;
  box-sizing: border-box;
}

/* input sizes */
.input-small {
  width: 184px;
  height: 32px;
  border: 1px solid var(--pink);
  border-radius: 50px;
  padding: 4px 12px;
  box-sizing: border-box;
}

.input-big {
  height: 32px;
  border: 1px solid var(--pink);
  border-radius: 50px;
  padding: 4px 12px;
  box-sizing: border-box;
  /* margin-bottom: 18px;
 width: 421px;
 */
}

.input-smaller {
  width: 129px;
  height: 32px;
  border: 1px solid var(--pink);
  border-radius: 50px;
  padding: 4px 12px;
  box-sizing: border-box;
}

/* radio rows and section titles */
.section-block {
  margin-top: 12px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 16px;
  font-weight: var(--font-regular);
  margin-bottom: 6px;
}

.radio-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 8px;
}

.radio-row label {
  font-size: 16px;
  font-weight: var(--font-regular);
  cursor: pointer;
}

/* small link style inside labels */
.link-pink {
  color: var(--pink);
  font-weight: var(--font-regular);
}

/* hide helper */
.hidden {
  display: none !important;
}

/* send button style */
.send-button {
  width: 118px;
  height: 31px;
  background-color: var(--pink);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: var(--font-regular);
  cursor: pointer;
  margin-top: 20px;
}

/* ensure inputs/selects inherit similar font */
.second-form input,
.second-form select {
  font-size: 14px;
  color: var(--dark-gray);
}

/* Placeholder styles - sections will be added step by step */
.pickup-fields .center-row {
  display: flex;
  justify-content: center;
  /* center horizontally */
  align-items: center;
  /* center vertically if needed */
  width: 100%;
  margin-bottom: 18px;
  /* added bottom margin as requested */
  gap: 12px;
  /* <-- add horizontal spacing between inputs */
}

/* Filter Inputs */
.input-reservation_salida-list {
  display: none;
  /* Hide if any references remain */
}

/* Salida Select Dropdown */
.salida-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Layout */
  width: 100%;
  padding: 8px 35px 8px 0;
  border: none;
  outline: none;
  border-bottom: 1px solid #e0e0e0;

  /* Typography */
  font-size: 16px;
  font-weight: var(--font-regular);
  color: var(--dark-gray);
  font-family: var(--font-family-primary);

  /* Background & Arrow */
  background-color: rgba(208, 66, 120, 0.072);
  background-image: url("../../img/Icons/arrow-down.svg");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 14px;

  /* Interaction */
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover Effect */
.salida-select:hover {
  background-color: rgba(208, 66, 120, 0.05);
}

/* Focus Effect */
.salida-select:focus {
  background-color: rgba(208, 66, 120, 0.08);
  box-shadow: 0 0 0 2px rgba(208, 66, 120, 0.15);
  border-bottom-color: var(--pink);
}

/* Active/Selected State */
.salida-select:active {
  background-color: rgba(208, 66, 120, 0.1);
}

/* Placeholder styling */
.salida-select option:first-child {
  color: #b8b8b8;
  font-style: italic;
}

/* Option Styling */
.salida-select option {
  padding: 10px;
  background-color: var(--white);
  color: var(--black);
  font-weight: var(--font-regular);
  font-family: var(--font-family-primary);
  font-size: 15px;
}

/* Selected Option Styling */
.salida-select option:checked {
  background-color: var(--pink);
  color: var(--white);
  font-style: normal;
}

/* Custom scrollbar for dropdown (webkit browsers) */
.salida-select::-webkit-scrollbar {
  width: 8px;
}

.salida-select::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.salida-select::-webkit-scrollbar-thumb {
  background: var(--pink);
  border-radius: 4px;
}

.salida-select::-webkit-scrollbar-thumb:hover {
  background: #b8396a;
}

/* Mobile Gallery Navigation (hidden by default on desktop) */
.mobile-gallery-nav {
  display: none;
}

/* Hide mobile-only label on desktop */
.mobile-input-label {
  display: none;
}