/* Estilos para la página de cotización */
.deep-blue {
  background-color: #1a237e;
}

.no-margin-bottom {
  margin-bottom: 0;
}

/* Contenedor principal del formulario de cotización */
.quote-form-container {
  margin: 0 auto;
}

/* Barra de búsqueda compacta */
.quote-search-bar {
  background-color: #0D2953;
  padding: 12px 15px;
  border-radius: 6px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.quote-search-bar .search-option:not(.search-input-container) {
    flex: 0 0 calc(29% - 4.5px) !important;
    margin-right: 0 !important;
    margin-bottom: 8px !important;
}
.quote-search-bar .search-option:last-child {
    flex: 0 0 calc(10% - 4.5px) !important;
}

/* Botones de búsqueda en la barra */
.quote-search-button {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  color: white;
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  min-width: 100%;
  min-height: 48px;
  justify-content: space-between;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.quote-search-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.quote-search-button i.material-icons {
  margin-left: 5px;
  font-size: 18px;
}

.quote-submit-button {
  background-color: #00A8EC;
  border: none;
  border-radius: 4px;
  color: white;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 48px;
  font-size: 0.9rem;
}

.quote-submit-button:hover {
  background-color: #0090CE;
}

.quote-submit-button i.material-icons {
  font-size: 18px;
}

/* Dropdown flotantes para las opciones */
.quote-dropdown {
  position: fixed;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  padding: 18px;
  min-width: 320px;
  display: none;
  animation: fadeIn 0.2s ease;
  transform-origin: top center;
}
.quote-dropdown-destination{
  min-width: 340px;
}

.quote-dropdown-destination.with-rooms {
  min-width: 820px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quote-dropdown.active {
  display: block;
  z-index: 1000;
}

/* Estilos para el contenedor de cada dropdown */
.search-option {
  position: relative;
  margin-right: 5px;
  z-index: 1000;
}

/* Contenedor principal debe tener position relative para que los dropdowns se posicionen bien */
.quote-form-container {
  position: relative;
  z-index: 1;
}

/* Grupo de destinos */
.destination-group {
  margin-bottom: 15px;
}

.destination-group-title {
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.destination-option {
  padding: 8px;
  cursor: pointer;
  border-radius: 4px;
}

.destination-option:hover {
  background-color: #f5f5f5;
}

/* Estilos para el selector de fechas */
.dates-container {
  display: flex;
  gap: 15px;
}

.date-selector {
  flex: 1;
}

/* Estilos para los contadores de huéspedes */
.guest-counter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.guest-counter-buttons {
  display: flex;
  align-items: center;
}

.counter-button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.counter-button:hover {
  background-color: #f5f5f5;
  border-color: #ccc;
}

.counter-button:active {
  background-color: #e0e0e0;
}

.counter-button i.material-icons {
  font-size: 18px;
  color: #555;
}

.counter-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.counter-value {
  margin: 0 12px;
  min-width: 20px;
  text-align: center;
  font-weight: 500;
}

/* Botones de acción en los dropdowns */
.dropdown-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.dropdown-actions button {
  margin-left: 10px;
  background-color: #00A8EC;
  text-transform: none;
  font-weight: 500;
  box-shadow: none;
  border-radius: 4px;
}

.dropdown-actions button:hover {
  background-color: #0090CE;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Información de selección en la barra de búsqueda */
.selection-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
}

.selection-label {
  font-weight: 600;
  margin-right: 4px;
}

.uppercase {
  text-transform: uppercase;
}

/* Calendario */
.calendar-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
}

.calendar-table td, .calendar-table th {
  padding: 8px;
  text-align: center;
  font-size: 0.9rem;
}

.calendar-table th {
  font-weight: 500;
  color: #555;
}

.selectable-date {
  cursor: pointer;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  line-height: 32px;
  display: inline-block;
  transition: all 0.2s ease;
}

.selectable-date:hover {
  background-color: #e0e0e0;
}

.selected-start, .selected-end {
  background-color: #00A8EC;
  color: white;
  font-weight: 500;
}

.date-in-range {
  background-color: #e3f2fd;
}

.calendar-month h6 {
  margin: 10px 0;
  font-weight: 500;
}

.disabled {
  color: #e0e0e0;
}

/* Estilos para la lista de destinos con checkboxes */
.destination-list {
  max-height: 380px;
  overflow-y: auto;
  padding-right: 10px;
}

.destination-group-title {
  font-weight: bold;
  color: #00A8EC;
  margin-top: 15px;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #e0e0e0;
}

.destination-list p {
  margin: 8px 0;
}

.destination-list label {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  padding:.4em 0;
}

/* Estilos para checkboxes (Materialize) */
[type="checkbox"]:checked+span:not(.lever):before {
  border-right: 2px solid #00A8EC;
  border-bottom: 2px solid #00A8EC;
}

.destination-list .chips {
  margin-top: 10px;
}

.chip {
  background-color: #e3f2fd;
  color: #0D2953;
  margin-right: 5px;
  margin-bottom: 5px;
}

.chip .close {
  color: #0D2953;
  font-weight: bold;
}

.multiple-destinations-text,
#selected-dates,
#selected-guests,
#selected-destination,
#selected-search-type,
#selected-hotels
{
  color: #00A8EC;
  font-weight: 500;
}

/* Estilos para el datepicker de rango */
.datepicker-container {
  margin-top: 15px;
}

.datepicker-date-display {
  background-color: #00A8EC;
}

.datepicker-calendar-container {
  padding: 10px;
}

.datepicker-table td.is-selected {
  background-color: #00A8EC;
  color: #fff;
}

.datepicker-table td.is-between {
  background-color: rgba(0, 168, 236, 0.2);
}

.datepicker-day-button:focus {
  background-color: rgba(0, 168, 236, 0.25);
}

.selected-range-text {
  font-size: 16px;
  margin: 10px 0;
  color: #00A8EC;
  font-weight: 500;
}

#selected-range-info {
  margin-top: 15px;
  padding: 15px;
  border-radius: 4px;
  background-color: #f5f5f5;
}

/* Estilos para los datepickers */
.datepicker-date-display {
  background-color: #00A8EC;
}

.datepicker-cancel, .datepicker-clear, .datepicker-today, .datepicker-done {
  color: #00A8EC;
}

.datepicker-table td.is-selected {
  background-color: #00A8EC;
}

.datepicker-table td.is-today {
  color: #00A8EC;
}

/* Ajuste de z-index simple para el datepicker */
.datepicker-modal {
  z-index: 1100 !important;
}

.modal-overlay {
  z-index: 1002 !important;
}

/* Asegurar que el dropdown permanezca visible */
.quote-dropdown.active {
  display: block;
  z-index: 1000;
}

/* Mejoras visuales para datepicker */
.datepicker input:focus {
  border-bottom: 1px solid #00A8EC !important;
  box-shadow: 0 1px 0 0 #00A8EC !important;
}

.datepicker-date-display {
  background-color: #00A8EC !important;
}

.datepicker-table td.is-selected button {
  background-color: #00A8EC !important;
  color: white !important;
}

.datepicker-cancel, 
.datepicker-clear, 
.datepicker-today, 
.datepicker-done {
  color: #00A8EC !important;
}

/* Estilo para los inputs de fecha */
.input-field .datepicker {
  margin-bottom: 0;
}

.input-field .prefix ~ .datepicker {
  margin-left: 3rem;
  width: calc(100% - 3rem);
}

.date-details {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e0e0e0;
  text-align: left;
}

.date-detail {
  display: flex;
  justify-content: space-between;
  margin: 5px 0;
  font-size: 14px;
}

.date-label {
  color: #555;
  display: flex;
  align-items: center;
}

.date-value {
  font-weight: 500;
}

.total-nights {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #e0e0e0;
  font-weight: bold;
}

/* Dropdown para Huéspedes con scroll */
#guests-dropdown {
  max-height: 75vh;
  overflow-y: auto;
  min-width: 360px;
  max-width: 400px;
}

/* Scroll suave para el contenido */
#guests-dropdown::-webkit-scrollbar {
  width: 6px;
}

#guests-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

#guests-dropdown::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

#guests-dropdown::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Diseño unificado para habitaciones múltiples (sin headers separados) */
.room-item-unified {
  background-color: transparent;
  border: none;
  padding: 12px 0;
  margin-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}

.room-item-unified:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.room-counters-unified {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.room-counter-section {
  flex: 1;
}

.room-counter-section .guest-counter {
  border-bottom: none;
  margin: 0;
  padding: 0;
}

/* Estilos para el formulario dinámico de habitaciones múltiples */
.room-form-container {
  margin-top: 15px;
}

.room-item {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.room-item:hover {
  background-color: #f1f3f4;
  border-color: #dee2e6;
}

.room-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e9ecef;
}

.room-header h6 {
  margin: 0;
  color: #495057;
  font-weight: 600;
  font-size: 0.95rem;
}

.room-header i.material-icons {
  margin-right: 8px;
  color: #6c757d;
  font-size: 18px;
}

.room-counters {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.room-counter-item {
  flex: 1;
  text-align: center;
}

.room-counter-item .guest-counter {
  border-bottom: none;
  margin: 0;
  padding: 0;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.room-counter-item .guest-counter span {
  font-size: 0.85rem;
  color: #6c757d;
  font-weight: 500;
}

.room-counter-item .guest-counter-buttons {
  margin-top: 5px;
}

.room-counter-item .counter-button {
  width: 28px;
  height: 28px;
}

.room-counter-item .counter-value {
  margin: 0 10px;
  font-weight: 600;
  color: #495057;
}

/* Estilos para el resumen de huéspedes - sticky al final */
.guests-summary {
  background-color: #e3f2fd;
  border: 1px solid #bbdefb;
  border-radius: 6px;
  padding: 15px;
  margin-top: 15px;
  position: sticky;
  bottom: 0;
  z-index: 1;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.summary-item span:first-child {
  font-weight: 600;
  color: #1976d2;
}

.summary-item span:last-child {
  font-weight: 700;
  color: #1976d2;
  font-size: 1.1rem;
}

.summary-breakdown {
  text-align: center;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #bbdefb;
}

.summary-breakdown span {
  color: #1565c0;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Estilos para los campos de edad de menores */
.children-ages-container {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e9ecef;
}

.children-ages-header {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 8px;
  font-weight: 500;
}

.child-age-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 6px 0;
}

.child-age-label {
  font-size: 0.8rem;
  color: #495057;
  font-weight: 500;
  min-width: 80px;
}

.age-counter {
  display: flex;
  align-items: center;
  gap: 8px;
}

.age-value {
  background-color: white;
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 0.85rem;
  color: #495057;
  min-width: 80px;
  text-align: center;
  font-weight: 500;
}

/* Estilos para el formulario simple de una habitación */
.single-room-children-ages {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.single-room-children-ages .children-ages-header {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
}

.single-room-children-ages .child-age-item {
  margin-bottom: 10px;
  padding: 8px 0;
}

.single-room-children-ages .child-age-label {
  font-size: 0.85rem;
  min-width: 90px;
}

.single-room-children-ages .age-counter {
  gap: 6px;
}

.single-room-children-ages .age-value {
  min-width: 90px;
  padding: 6px 10px;
}

/* Estilos para filas clickeables en la tabla de resultados */
.clickable-row {
  transition: background-color 0.2s ease;
}

.clickable-row:hover {
  background-color: #f5f5f5 !important;
}

/* Estilos para la página de confirmación */
.info-section {
  margin-bottom: 25px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #00A8EC;
}

.info-section:last-child {
  border-bottom: none;
}

.info-section h6 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}

.info-section h6 i {
  margin-right: 10px;
  color: #00A8EC;
  font-size: 22px;
}

.info-content {
  margin-left: 0;
  margin-top: 10px;
}

.destination-item {
  margin: 8px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #495057;
}

.multiple-destinations .destination-item {
  margin: 5px 0;
}

.date-info p {
  margin: 8px 0;
  font-size: 1rem;
}

.nights-info {
  color: #00A8EC;
  font-weight: 700;
  font-size: 1.1rem;
}

.guests-breakdown {
  font-size: 1rem;
}

.room-guest-info {
  margin-bottom: 15px;
  padding: 15px;
  background-color: #ffffff;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

.room-guest-info h6 {
  margin: 0 0 8px 0;
  color: #495057;
  font-size: 1rem;
  font-weight: 600;
}

.total-guests-summary {
  margin-top: 20px;
  padding: 15px;
  background-color: #e3f2fd;
  border-radius: 6px;
  text-align: center;
  border: 1px solid #bbdefb;
}

.rooms-count {
  color: #666;
  font-size: 0.95rem;
  margin-top: 5px;
}

.product-details {
  font-size: 1rem;
}

.product-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 12px 0;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

.product-item:last-child {
  border-bottom: none;
}

.product-label {
  font-weight: 600;
  color: #495057;
  min-width: 100px;
}

.product-value {
  color: #333;
  text-align: right;
  max-width: 65%;
  font-weight: 500;
}

.price-display {
  text-align: center;
  margin: 30px 0;
  padding: 25px;
  background: linear-gradient(135deg, #e3f2fd, #f0f8ff);
  border-radius: 10px;
  border: 2px solid #00A8EC;
}

.main-price {
  font-size: 2.5rem;
  font-weight: bold;
  color: #00A8EC;
  margin-bottom: 15px;
  text-shadow: 0 1px 3px rgba(0, 168, 236, 0.3);
}

.currency {
  font-size: 1.3rem;
  vertical-align: top;
}

.amount {
  margin-left: 8px;
}

.price-breakdown {
  font-size: 0.9rem;
  color: #555;
}

.price-note, .price-includes {
  margin: 8px 0;
  font-weight: 500;
}

.action-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.action-buttons .btn {
  flex: 1;
  margin: 0;
  padding: 12px 20px;
  font-weight: 600;
}
.guest-table-controls{
  text-align: right;
}

.coupon-notes-section .card .card-content{
  padding: 10px 24px;
}
.guest-table-controls-main{
    vertical-align: baseline;
    min-height: 49px !important;
    align-content: center;
}

/* Media queries para la página de confirmación */
@media (max-width: 600px) {
  .action-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .info-section {
    padding: 15px;
    margin-bottom: 20px;
  }
  
  .info-section h6 {
    font-size: 1rem;
  }
  
  .product-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .product-value {
    max-width: 100%;
    text-align: left;
  }
  
  .main-price {
    font-size: 2rem;
  }
  
  .price-display {
    padding: 20px 15px;
  }
}

/* Estilos para la página de confirmación con diseño de tarjeta */
.upcomingvacation .content-wrapper .fullblue {
  background-color: #00A8EC !important;
  color: white !important;
  padding: 12px 15px;
  margin: 0 0 10px 0;
}

.upcomingvacation .content-wrapper .fullblue h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.upcomingvacation .content-wrapper .input-field {
  margin-top: 0;
  margin-bottom: 15px;
}

.upcomingvacation .content-wrapper .input-field .prefix {
  color: #00A8EC;
  font-size: 1.2rem;
}

.upcomingvacation .content-wrapper .input-field p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #333;
}

.upcomingvacation .content-wrapper .input-field p strong {
  color: #333;
  font-weight: 600;
}

.upcomingvacation .content-wrapper strong{
  color: #777 !important;
  font-weight: normal !important;
  font-size: .8em;
}

/* Espaciado específico para las secciones de confirmación */
#stay-details-section,
#product-details-section,
#price-details-section {
  padding: 0 15px 20px 15px;
}

/* Estilos para el precio en la confirmación */
#price-details-section .input-field div {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, #e3f2fd, #f0f8ff);
  border-radius: 8px;
  border: 2px solid #00A8EC;
  margin-top: 10px;
}


.upcomingvacation {
  position: relative;
  overflow: hidden;
  margin: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.image-wrapper {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
  height: 400px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
}

.tag h4 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
}

.tag span {
  font-size: 16px;
  opacity: 0.9;
}

.content-wrapper {
  background: white;
}

.fullblue {
  background: #00a8ec;
  color: white;
  padding: 10px 15px;
  margin: 15px 0;
}

.fullblue h5 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.stay-detail, .product-detail {
  padding: 2px 5px;
  margin: 5px 0;
  display: flex;
  align-items: center;
}

.stay-detail i, .product-detail i {
  margin-right: 10px;
  color: #00a8ec;
}

#price-details-section h4 {
  color: #00a8ec;
  font-weight: 500;
  margin: 10px 0 0 0;
}
.price-detail{
    background: #eef8ff;
    padding: 15px 10px;
    margin: 5px auto 0 auto;
    border-radius: 5px;
    border: solid 1px #cce1ff;
    font-weight: bold;
    color: #00a8ec;
}

.btn-continue-reservation {
  margin-top: 20px;
}

/* ============================================================================
   FIXES Y MEJORAS ADICIONALES (anteriormente en quote-fix.css)
   ============================================================================ */

/* Fix para los dropdowns en Chrome */
.quote-dropdown.active {
  /* Aplicado explícitamente por JS */
  opacity: 1;
}

/* Ajuste específico para el dropdown de fechas */
#dates-dropdown {
  width: 400px;
  max-width: 400px;
}

/* Hacer el dropdown de fechas más compacto */
#dates-dropdown .input-field {
  margin-bottom: 8px;
}

#dates-dropdown .date-details {
  font-size: 0.9rem;
  line-height: 1.4;
}

#dates-dropdown .dropdown-actions {
  margin-top: 8px;
  padding-top: 8px;
}

/* Estilos para el navegador de fechas en resultados */
.date-navigator {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.date-navigator-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.date-navigator-dates {
  display: flex;
  gap: 8px;
}

.date-option {
  padding: 8px 12px;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: white;
  border: 1px solid #e0e0e0;
  min-width: 150px;
  position: relative;
}

.date-option:not(.active):hover {
  background-color: #e3f2fd;
  border-color: #2196f3;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.date-option.active {
  background-color: #2196f3;
  color: white;
  border-color: #2196f3;
  cursor: default !important;
  pointer-events: none;
}

.date-option.active:hover {
  background-color: #2196f3;
  border-color: #2196f3;
  transform: none;
  box-shadow: none;
}

/* Indicador visual para opciones clickeables */
.date-option:not(.active)::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  background-color: #4caf50;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.date-option:not(.active):hover::after {
  opacity: 1;
}

.date-range {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.date-start, .date-end {
  text-align: center;
}

.date-separator {
  font-weight: bold;
  margin: 0 2px;
  font-size: 0.9rem;
}

.date-option .date-day {
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1;
}

.date-option .date-number {
  font-size: 1rem;
  font-weight: bold;
  margin: 1px 0;
  line-height: 1;
}

.date-option .date-month {
  font-size: 0.7rem;
  line-height: 1;
}

.date-navigator-info {
  text-align: center;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #666;
}

.date-navigator-info i {
  color: #888;
  margin-right: 5px;
  vertical-align: bottom;
}

.date-navigator-info p{
  background-color: #f2e0ba;
  border-radius: 100px;
  display: inline-block;
  padding: .3em 2em;
}

/* Estilos para la tabla de resultados */
.results-table-container {
  overflow-x: auto;
  margin-top: 20px;
}

.results-table-container table {
  margin: 0;
}

.results-table-container tbody tr {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.results-table-container tbody tr:hover {
  background-color: #f5f5f5;
}

.results-table-container tbody tr:hover td {
  background-color: #f5f5f5;
}

/* Aumentar la especificidad de los dropdown buttons */
.quote-search-bar .quote-search-button {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  color: white;
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

/* Asegurar z-index adecuado para elementos datepicker */
.datepicker-modal,
.datepicker-date-display,
.datepicker-calendar-container,
.datepicker-table,
.datepicker-footer {
  z-index: 1100 !important;
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================================ */

/* Responsive adjustments for mobile */
@media (max-width: 600px) {
  .date-navigator-dates {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .date-option {
    min-width: 50px;
    padding: 6px 8px;
  }
}

/* Responsive para el navegador de fechas */
@media (max-width: 768px) {
  .date-navigator-dates {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
  }
  
  .date-option {
    min-width: 80px;
    flex-shrink: 0;
  }
  
  .date-option .date-day,
  .date-option .date-month {
    font-size: 0.6rem;
  }
  
  .date-option .date-number {
    font-size: 0.9rem;
  }
  
  .date-separator {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .date-navigator {
    padding: 10px;
  }
  
  .date-option {
    min-width: 70px;
    padding: 6px 8px;
  }
  
  .date-range {
    gap: 2px;
  }
}

/* Fix para solucionar conflictos en dispositivos móviles */
@media (max-width: 992px) {
  .quote-dropdown {
    position: fixed !important;
    top: 50% !important;
    left: 5% !important;
    width: 90% !important;
    max-width: none !important;
    transform: translateY(-50%) !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
  }
}
