/* ============================================================
 * Formulario Reservar Barco — Estilos frontend
 * ============================================================ */

#descripcionCateringAdulto {
  font-size: 15px;
  color: gray;
}
#descripcionCateringInfantil {
  font-size: 15px;
  color: gray;
}
#needPatronWrapper {
  margin-top: 10px;
  margin-bottom: 10px;
}
.popup-content-experiencias {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 900px;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-top: 10%;
  z-index: 1000;
}
.booking-container {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  max-width: 350px;
  width: 100%;
  margin: 1px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.price-per-hour {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
}
.price-asterisk-wrapper {
  position: relative;
  display: inline-block;
}
.price-asterisk {
  color: #e63946;
  cursor: pointer;
  font-size: 14px;
  vertical-align: super;
  line-height: 1;
  user-select: none;
  -webkit-user-select: none;
}
.price-tooltip {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  transform: translateY(-50%);
  background: #1a1a2e;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  padding: 7px 12px;
  border-radius: 6px;
  width: 220px;
  white-space: normal;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: opacity 0.18s ease, visibility 0.18s ease;
  z-index: 9999;
}
.price-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #1a1a2e;
}
@media (max-width: 600px) {
  .price-tooltip {
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 210px;
    text-align: center;
  }
  .price-tooltip::after {
    top: auto;
    bottom: 100%;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: #1a1a2e;
  }
}
.price-asterisk-wrapper:hover .price-tooltip,
.price-asterisk-wrapper.tooltip-active .price-tooltip {
  visibility: visible;
  opacity: 1;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.form-group label {
  font-weight: 600;
  margin-bottom: 4px;
  color: black;
}
.field-with-icon {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 52px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #f7f7f7;
  padding: 0 14px;
  box-sizing: border-box;
}
.field-with-icon-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff385c;
  line-height: 1;
  margin-right: 10px;
  flex: 0 0 auto;
  pointer-events: none;
}
.field-with-icon-control {
  font-size: 15px;
  border: 0;
  background: transparent;
  color: #282b5a;
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  padding: 0;
}
.field-with-icon-control:focus {
  outline: none;
}
.form-group input[type="date"].field-with-icon-control {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.form-group input[type="date"].field-with-icon-control::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}
/* Eliminar flechas de input number */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}
.passenger-dropdown {
  position: relative;
  width: 100%;
}
.passenger-trigger {
  width: 100%;
  min-height: 52px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #f7f7f7;
  padding: 12px 14px;
  color: #282b5a;
  cursor: pointer;
}
.passenger-trigger-content {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.passenger-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff385c;
  line-height: 1;
}
.passenger-trigger-label {
  font-size: 15px;
  line-height: 1.15;
}
.passenger-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
  padding: 18px 16px 16px;
  z-index: 30;
}
.passenger-dropdown-panel[hidden] {
  display: none;
}
.passenger-counter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.passenger-counter-title {
  color: #101246;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
}
.passenger-counter-subtitle {
  color: #4f5578;
  font-size: 14px;
  line-height: 1.2;
  margin-top: 4px;
}
.passenger-counter-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.passenger-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #c8ccd8;
  background: #fff;
  color: #4f5578;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.passenger-circle-btn:hover {
  background: #f6f8ff;
}
.passenger-counter-value {
  width: 24px;
  border: 0;
  text-align: center;
  font-size: 20px;
  color: #3d4466;
  background: transparent;
  pointer-events: none;
}
.passenger-dropdown-close {
  border: 0;
  background: transparent;
  color: #101246;
  padding: 0;
  margin-top: 2px;
  font-size: 16px;
  text-decoration: underline;
  cursor: pointer;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.time-slot-select {
  padding-right: 20px;
  cursor: pointer;
}
.hour-slot-select-wrapper {
  position: relative;
  width: 100%;
}
.hour-slot-guard {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.hour-slot-select-wrapper.blocked .hour-slot-guard {
  display: block;
}
.hour-slot-warning {
  display: none;
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.3;
  color: #6b4f00;
  background: #fff3bf;
  border: 1px solid #f2d46b;
  border-radius: 8px;
}
.hour-slot-warning.visible {
  display: block;
}
.no-charge-message {
  font-size: 12px;
  color: #555;
  margin-bottom: 16px;
  margin-top: 86px;
}
.breakdown {
  font-size: 15px;
  margin-bottom: 16px;
}
.breakdown div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.total {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 16px;
}
.reserve-button {
  display: block;
  width: 100%;
  padding: 12px 0;
  border: none;
  border-radius: 4px;
  background-color: #ff385c;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
}
.reserve-button:hover {
  background-color: #e02f50;
}
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 12px;
  box-sizing: border-box;
  z-index: 2147483000;
}
.popup-overlay.active {
  display: flex;
}
.popup-content {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 900px;
  width: min(900px, 100%);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  padding: 0;
  max-height: calc(100vh - 24px);
}
.popup-header {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 16px;
  color: black;
}
.popup-body {
  flex: 1;
  overflow-y: auto;
}
.popup-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 20px;
  gap: 10px;
}
.close-popup {
  background: #2d2c2c;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
  margin-top: 20px;
  width: 100%;
}
.close-popup:hover {
  background-color: #bbb;
}
.close-popup-2 {
  background: #8b8b8b;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
}
.send-popup {
  background: #ff385c;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
}
.send-popup:hover {
  background-color: #cc0000;
}
.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.input-group label {
  font-weight: 600;
  margin-bottom: 4px;
  color: black;
  font-size: 15px;
}
.input-group input,
.input-group textarea {
  padding: 8px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: black;
}
.input-group textarea {
  resize: vertical;
  min-height: 86px;
  font-family: inherit;
}
.high-demand-box {
  max-width: 350px;
  width: 100%;
  margin: 0 40px;
  background-color: #fff4e6;
  border: 1px solid #ffd8a8;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  display: none;
}
.high-demand-box strong {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}
.high-demand-box p {
  margin: 0;
}
.total-price-change {
  animation: priceChange 0.3s ease-in-out;
}
@keyframes priceChange {
  0% { transform: scale(1); color: #000; }
  50% { transform: scale(1.2); color: #ff385c; }
  100% { transform: scale(1); color: #000; }
}
.popup-section h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}
.menu-item,
.activity-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  color: black;
}
.menu-item span {
  color: black;
  font-size: 12px;
}
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 30px;
}
.quantity-selector button {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  cursor: pointer;
}
.quantity-selector input {
  width: 40px;
  text-align: center;
  border: 0;
  border-radius: 4px;
  height: 32px;
  font-size: 1rem;
}
.toggle-activity {
  background-color: #ff385c;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
}
.toggle-activity:hover {
  background-color: #e02f50;
}
.toggle-activity.active {
  background-color: #555;
}
.price {
  display: block;
  font-size: 0.9rem;
  color: gray;
  margin-top: 4px;
}
.extras-button {
  margin-bottom: 10px;
  width: 100%;
  color: black;
  border: 1px solid black;
  font-size: 15px;
}
.aviso2 {
  font-size: 15px;
  color: black;
}
#toastHighDemand {
  display: none;
  margin-top: 12px;
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  align-items: center;
  gap: 14px;
}
.toast-high-demand-icon {
  flex: 0 0 30%;
  max-width: 30%;
  padding-left: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.toast-high-demand-icon svg,
.toast-high-demand-icon img {
  width: min(42px, 100%);
  height: auto;
  display: block;
}
.toast-high-demand-text {
  flex: 1 1 70%;
  max-width: 70%;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}
#toastHighDemand.visible {
  display: flex;
}
@media (max-width: 600px) {
  #toastHighDemand {
    padding: 12px 14px;
    gap: 10px;
  }
  .toast-high-demand-icon {
    padding-left: 2px;
  }
  .toast-high-demand-icon svg,
  .toast-high-demand-icon img {
    width: min(32px, 100%);
  }
  .toast-high-demand-text {
    font-size: 14px;
    line-height: 1.4;
  }
}
.close-popup-circle {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background-color: #8b8b8b;
  color: white;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.close-popup-circle:hover {
  background-color: #bbb;
}
.popup-columns {
  display: flex;
  min-height: 100%;
}
.popup-left {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 26px;
  margin-right: 0;
  gap: 14px;
}
.popup-left h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  color: #101246;
  padding-right: 56px;
  line-height: 1.25;
}
.popup-right {
  flex: 1 1 45%;
  background-image: url('https://clicknsail.com/wp-content/uploads/2025/04/barco-reservas.jpg');
  background-size: cover;
  background-position: center;
}
@media (max-width: 860px) {
  .popup-overlay {
    padding: 10px;
    align-items: flex-start;
    overflow-y: auto;
  }
  .popup-content {
    width: 100%;
    max-width: 420px;
    max-height: calc(100vh - 20px);
    border-radius: 14px;
    margin: 0 auto;
    overflow-y: auto;
  }
  .popup-columns {
    display: block;
    min-height: auto;
  }
  .popup-left {
    width: 100%;
    padding: 56px 16px 18px;
    gap: 10px;
  }
  .popup-left h2 {
    font-size: 28px;
    padding-right: 44px;
    margin-bottom: 8px;
  }
  .popup-right {
    display: none;
  }
  .close-popup-circle {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .input-group {
    margin-bottom: 12px;
  }
  .send-popup {
    margin-top: 4px;
    min-height: 46px;
  }
}
