  /* Base styles */
.results-filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e1e1e1;
}

.results-count {
    font-size: 16px;
}

.filter-options {
    position: relative;
}

.filter-button {
    background-color: #e9f4ff;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    color: #2c3e50;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.filter-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    list-style: none;
    padding: 0;
    margin: 5px 0 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: max-content;
}

.filter-list li {
    padding: 10px;
    cursor: pointer;
}

.filter-list li:hover {
    background-color: #f0f0f0;
}

/* Show list on button click */
.filter-button.active + .filter-list {
    display: block;
}

.bb-filter-options-dkp {
        display:flex;
}

.bb-filter-options-mob {
        display:none;
}

  #loading-container {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 10px;
}

#progress-bar {
    position: relative;
    width: 95%; /* Adjust width as needed */
    height: 25px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: auto;
}

#progress-filled {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0; /* Start with 0% filled */
    background-color: #f1b553; /* Change to the color you prefer */
    border-radius: 10px 0 0 10px; /* Keep the rounded corners */
    z-index: 1;
}

#bus {
    position: absolute;
    top: -10px; /* Adjust as needed to align the bus */
    left: 0;
    transition: left 3s linear; /* Adjust the duration as needed */
    width: 40px; /* Adjust the bus image size */
    z-index: 2;
}

#content {
    padding: 20px;
    text-align: center;
}

  .results {
      position: relative;
  }

  .estacion-result {
    border: 1px solid;
    padding: 10px;
  border-radius: 15px;
  border-color: #ddd;
  cursor: pointer;
  margin: 10px;
  transition: transform 0.5s ease;
  }
  .estacion-result:hover {
    border-color: #135D77;
  }
  .estacion-result table { width: 100% }
  .estacion-result td { vertical-align: top }
  .estacion-time { font-size: 1.5em;
    line-height: 1.16667;
    letter-spacing: -0.02em;
    text-transform: none;
    font-weight: 400; }
  .estacion-name {
    font-size: 1em;
    line-height: 1.25;
    text-transform: none;
  }
  .estacion-date { font-size: 16px; }
  .estacion-city {
    font-size: 0.625em;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgb(105, 140, 165);
  }
  .estaciones-btn {
      background: #f1b553;
    padding: 10px 20px;
    color: #fff;
    border-radius: 20px;
    border: 0;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    margin: 10px 0px;
  }
  .estaciones-btn .estaciones-buy {
      display: none;
  }
  .estacion-result:hover .estaciones-btn {
    background: rgb(36, 214, 116);
    width:200px;
  }
  .estacion-result:hover .estaciones-go, .estacion-result:hover .estaciones-price {
    display: none;
  }
  .estacion-result:hover .estaciones-buy {
    display: inline;
  }
  .right { text-align: right; }
  .estaciones-go { color: #EB003B; font-size: 1.1rem }
  .button-ver-mas { text-align: center; }
  .button-ver-mas button { width: 200px; margin: 20px }
  .busbud-aff {
    text-align: center;
    height: 10px;
    background: rgba(59,130,246,.1);
    font-size: 15px;
  }
  .busbud-aff img { height: 20px; margin-bottom: 3px; }

  #estaciones-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    display: flex; /* Center the loading image vertically and horizontally */
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  #estaciones-loading-overlay div {
    display: block;
    background-color: #fff;
    padding: 10px;
    text-align: center;
  }

  #estaciones-loading-overlay.hidden {
    display: none;
  }
  .taquillas_txt {
    font-size: 1.1rem;
  }

  .desk-hidden {
    display: none;
  }


  .highlight_div {
    position: relative; /* Positioning context for the pseudo-element */
    border: 7px solid #F9629F; /* Thicker border to show selection */
    border-radius: 5px; /* Optional rounded corners */
  }

/* Create the "Tu selección" tab */
.highlight_div::before {
    content: "Tu selección"; /* Text for the label */
    position: absolute; /* Position it relative to the parent */
    top: -20px; /* Adjust vertically above the div */
    left: 30px; /* Adjust horizontally to the left of the div */
    background-color: #F9629F; /* Background color of the tab */
    color: white; /* Text color */
    font-size: 14px; /* Font size */
    font-weight: bold; /* Bold text */
    padding: 2px 8px; /* Padding inside the label */
    border-radius: 7px; /* Rounded corners for the label */
    z-index: 1; /* Ensure it appears above the div */
    pointer-events: none; /* Make it unclickable */
}


/* Media query for mobile */
@media (max-width: 1200px) {
    .bb-filter-options-dkp {
        display:none;
    }
    .bb-filter-options-mob {
        display:block;
        width: 175px;
    }
    .results-filter-container {
        align-items: flex-start;
    }
    
    .filter-button {
        width: 100%;
        display: unset;
        padding: 15px 20px;
        margin: 5px 0px;
    }

    .bb-result-img {
        max-width: 80px;
        margin: 10px 0px;
    }


    #bb-filter-mob-options {
        position: absolute;       /* Position the options in the foreground */
        background-color: white;  /* White background */
        border-radius: 15px;   /* Light border */
        padding: 10px;            /* Add some padding */
        z-index: 1000;            /* Ensure it's in the foreground */
        top: 60px;                /* Adjust according to your design */
        width: 100%;               /* Full width in mobile */
    }

          .mob-hidden {
          display: none;
      }

      .desk-hidden {
        display: table-row;
      }

      .estacion-result {
        font-size: 18px;
      }

      .estaciones-btn {
         width: 200px;
        padding: 15px;
        border-radius: 30px;
        font-size: 20px;
        background: #f1b553;
      }

      .estacion-name {
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      .mob-center {
        text-align: center;
      }

      .mob-duracion {
        vertical-align: middle;
        font-size: 16px;
      }

      .mob-right {
        text-align: right;
      }

      .estacion-time {
        font-size: 1.8em;
      }

      .estacion-city {
        font-size: 0.75em;
      }

      .estacion-name {
        font-size: 20px;
      }

}


