.flight-info-div {
    /* padding: 20px 200px; */
    /* box-shadow: 0 2px 15px 0 rgba(0,0,0,0.1); */
    width: 100%;
    margin: 0 auto;
    margin-top: -200px;
}

#flight-search-form {
  position: -webkit-sticky; /* For Safari */
  position: sticky;
  top: 10px; /* Sticks 10px from the top of the container */
  background-color: #fafafc; /* Optional: to ensure visibility */
  padding: 10px;
  border-radius: 30px;
  z-index: 1000; /* Ensures it stays on top */
  padding: 25px 55px;
  margin-bottom: 50px;
 
}

.ui-autocomplete {
  position: absolute;
  z-index: 1000 !important;
  border: 1px solid #ddd;
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
  list-style: none;
}

.fa-search {
  border-radius: 50px !important;
}

.radio-buttons {
  display: flex;
  align-items: end;
}

/* Default styles for the radio buttons */
.radio-button {
    margin-right: 10px;
    margin-bottom: 0px;
    padding: 12px 20px;
    border: 3px solid #F1F2F4;
    border-radius: 20px;
    cursor: pointer;
    background-color: #FAF8FE;
    text-transform: none !important;
    font-weight: 700;
  }
  
  /* Styles for the radio buttons when clicked */
  .radio-button.clicked {
    background-color: #ba0c2f;
    color: #fff;
    border-color: #ba0c2f;
  }
  
  /* Hide the default radio button appearance */
  .radio-button input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  
  /* Custom styles for the initial background color of the first radio button */
  .radio-button.bg-initial {
    background-color: #ba0c2f;
    color: #fff;
  }
  
  .submit-button {
    padding: 20px 40px;
    border-radius: 50px !important;
  }

  #loading-spinner {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    font-size: 3em;
    color: #BA0C2F;
}

.pagination-link {
  margin: 0 10px; /* Adds space on the left and right of each link */
}

.pagination-link.prev-page {
  margin-right: 20px; /* Adds more space to the right of the previous page link */
}

.pagination-link.next-page {
  margin-left: 20px; /* Adds more space to the left of the next page link */
}

.pagination-numbers button {
  background-color: rgba(218, 218, 218, 0) !important;
  border: none;
  margin: 0 2px;
  padding: 5px 10px;
  cursor: pointer;
}

.pagination-numbers button.active {
  background-color: lightgray !important;
  color: black;
}

.pagination-numbers button:hover {
  background-color: rgba(218, 218, 218, 0.5) !important;
}

.flight-input {
  margin-bottom: 0px !important;
  padding-left: 20px !important;
  border: 0px !important;
  /* box-shadow: 0 1px 5px 0 rgba(0,0,0,0.2); */
  background-color: transparent !important;
  margin-bottom: 40px;
}

input::placeholder {
  font-size: 24px; /* Adjust the size as needed */
  font-weight: 500;
  color: #ADB0B3;
}

.flight-input:focus {
  box-shadow: 0 1px 5px 0 rgba(0,0,0,0.2) !important;
}

.flight-card {
  /* border: 0.2px solid #ccc; */
  padding: 10px;
  margin: 10px 0;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  */
  border-bottom: 1px solid rgb(230, 230, 230);
  /* border-radius: 5px;  */
  background-color: #fff; /* Optional: Add background color */
  transition: box-shadow 0.3s ease; /* Smooth transition */
}

.flight-card::before, .flight-card::after  {
  content: none !important;
}

.flight-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Box shadow on hover */
}

.arrival-message {
  color: black !important;
  /* background-color: #2F3490; */
  /* padding: 10px 20px; */
  margin-top: 15px;
  margin-bottom: 0px;
}

.departure-message {
  color: black !important;
  /* background-color: #2F3490; */
  /* padding: 10px 20px; */
  margin-top: 15px;
  margin-bottom: 0px;
}

.pagination-buttons {
  display: flex;
  align-content: center;;
  justify-content: space-between;
  z-index: 1000;
  background-color:#2F3490;
  padding: 10px 20px;
}

.pagination-buttons button {
  font-size: 16px;
  cursor: pointer;
  border-bottom: 0px !important;
  margin: 0px !important;
}

.pagination-buttons button:disabled {
  /* background-color: #ccc; */
  cursor: not-allowed;
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
}        

.page-link {
  color:#2F3490 !important;
}

.page-item.active .page-link {
  background-color: #2F3490 !important;
  border-color: #2F3490 !important; /* Optionally, to match the border color */
  color: white !important;
}

/* #result-container {
  min-height: 600px;
  display: flex;
  flex-direction: column;
} */

#result-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns of equal width */
  grid-template-rows: auto; /* Let rows automatically adjust based on content */
  gap: 20px; /* Optional: space between grid items */
  width: 100%; /* Optional: container width */
  margin: 0 auto; /* Optional: center the grid on the page */
  padding: 0px 15px;
}

/* Media query for mobile screens (up to 768px wide) */
@media (max-width: 768px) {
  #result-container {
    grid-template-columns: 1fr; /* Single column layout on mobile */
  }
}

.flight-info {
  flex-grow: 1;
}

#pagination {
  margin-top: 20px;
}

h2 {
  font-size: 24px !important;
}


.circle-container {
  width: 60px;
  height: 60px;
  background-color: #F5F7FA;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-container img {
  max-width: 55%;
  max-height: 55%;

}

.line-container {
      display: flex;
      align-items: center;
      width: 100%;
      max-width: 300px; /* Adjust width as needed */
      margin: 20px auto;
      position: relative;
  }
  
  .line {
      flex-grow: 1;
      border-top: 2px dashed #DCE4E8; /* Dashed line */
      position: relative;
      height: 0; /* Set to 0 to avoid extra height */
  }
  
  .dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background-color: #DCE4E8; /* Filled-in dot */
      position: relative;
      z-index: 1;
  }
  
  .open-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      border: 2px solid #DCE4E8; /* Border for open dot */
      background-color: white; /* Open dot */
      position: relative;
      z-index: 1;
  }

  .icon-container {
      position: absolute;
      top: -12px; /* Adjust to vertically center the icon */
      left: 50%;
      transform: translateX(-50%);
      background-color: white; /* Optional: to hide dashed line behind icon */
      padding: 0 5px; /* Optional: space around the icon */
      z-index: 2; /* Ensure icon is above the line */
  }

  .icon-container i {
      font-size: 16px; /* Adjust icon size */
      color: #B90F31; /* Icon color */
  }

  .grid-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr); /* 3 columns of equal width */
      grid-template-rows: repeat(2, 1fr); /* 2 rows of equal height */
      gap: 12px; /* Optional: space between grid items */
      width: 100%; /* Optional: container width */
      margin: 0 auto; /* Optional: center the grid on the page */
  }

  
  .flight-info-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr); /* 3 columns of equal width */
      grid-template-rows: repeat(2, 1fr); /* 2 rows of equal height */
      gap: 12px !important; /* Optional: space between grid items */
      width: 100%; /* Optional: container width */
      margin: 0 auto; /* Optional: center the grid on the page */
  }


  .grid-card {
      background-color: #F5F7FA;
      padding: 12px;
      border-radius: 10px;
      position: relative;
      overflow: hidden; /* Hide overflow to keep blur effect within the item */

  }

  .grid-card::before{
      content: '';
      position: absolute;
      top: -15px; /* Adjust as needed */
      left: -15px; /* Adjust as needed */
      right: -15px; /* Adjust as needed */
      bottom: -15px; /* Adjust as needed */
      background-color: #f0f0f0; /* Same color as the grid item */
      filter: blur(15px); /* Blur effect */
      z-index: -1; /* Place the blur behind the content */
  }

  .flight-card {
      position: relative; /* Ensure the pseudo-element is positioned relative to the card */
      background-color: #ffffff; /* Background color of the card */
      padding: 30px 20px; /* Padding inside the card */
      border-radius: 15px; /* Rounded corners for the card */
      z-index: 1; /* Ensure the card content stays above the blur effect */

      box-shadow: 0px 51px 104px -30px rgba(177, 187, 205, 0.26) !important;

  }

  .flight-card::before {
      content: '';
      position: absolute;
      top: -15px; /* Adjust as needed */
      left: -15px; /* Adjust as needed */
      right: -15px; /* Adjust as needed */
      bottom: -15px; /* Adjust as needed */
      background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent background */
      filter: blur(15px); /* Blur effect */
      border-radius: 15px; /* Matching rounded corners with additional radius for the blur */
      z-index: -1; /* Place the blur effect behind the card content */
  }


  .grid-card:hover::before {
      filter: blur(25px); /* Enhanced blur effect on hover */
  }

  .grid-item-content {
      position: relative;
      z-index: 1; /* Keep content above the blur */
  }

  .grid-card > h5 {
      color: #1A1C1E;
      font-weight: 700;
      font-size: 16px !important;
  }

  .grid-card > p {
      color: #6C7278;
      font-size: 14px !important;
  }

  .remarks > h5 {
      color: #4365DE !important;
      font-size: 14px !important;
  }

  .city > h6 {
      color: #6C7278 !important;
      font-weight: 400;
      font-size: 12px !important;
  }

  .date > h6 {
      font-weight: 700;
  }

  .airline-name {
    font-size: 18px !important;
  }

  .flight-number {
    font-size: 15px !important;
  }

  .airline-name, .flight-number, .date > h6, .city > h2 {
    color: #1A1C1E !important;
    font-weight: 700 !important;
  }

  .grid-container-css > .grid-card > h5 {
    color: #1A1C1E;
    font-weight: 700;
  }


  @media only screen and (max-width: 425px) {

    #flight-search-form {
      position: -webkit-sticky;
      position: sticky;
      top: 10px; 
      background-color: #fafafc; 
      border-radius: 30px;
      z-index: 9999; 
      padding: 15px 30px;
      /* margin-bottom: 50px; */
    }
    /* Add your styles here */
}
