.dropdown {
    position: relative; /* This ensures that the dropdown content is positioned relative to this container */
  }
.dropdown-field {
 
    width: 360px;
    height: 70px;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 12px;
    border: 1.5px solid var(--color-white);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
  }
  
  /* Active state for the dropdown field */
  .dropdown-field.active {
    background-color:white;  /* Change background color when active */
    color: var(--color-accent); /* Change text color when active */
      /* Style for the input title */

  }
  .input-title.active {
    font-size: 14px; /* Smaller font size */
    line-height: 24px;
    color: var(--color-accent); /* Using the accent color for the text */
    align-self: flex-start;
    text-align: justify;
    margin-left:20px;
    margin-top:10px;
    text-wrap: nowrap;
}
  .input-title {
    flex-grow: 1;
    text-align: justify;
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
    margin-left:24px;
    cursor: pointer;
  }


  
  .dropdown-content {
    display: none; /* Hidden by default */
    position: absolute;
    background-color: white;
    border-radius: 12px;
    border: 1px solid var(--color-accent);
    max-height: 200px;
    overflow-y: auto;
    width: calc(100% - 13px); /* Align with the border of dropdown-field */
    top: 100%; /* Position directly below the dropdown-field */
    left: 0; /* Align with the left edge of the dropdown-field */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: opacity 0.3s, visibility 0.3s;
    opacity: 0;
    visibility: hidden;
    overflow-x:hidden;
    padding: 5px 10px 5px 0;
    
  }
  
  .dropdown-links-container {
    width: 100%;
    max-height: 200px;
    overflow-y: auto; /* Apply scrollbar to this container */
    overflow-x:hidden;
  }
  /* Shows the dropdown content when the 'show' class is added */
  .dropdown-content.show {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
  }

/* Custom scrollbar styling */
.dropdown-links-container::-webkit-scrollbar {
    width: 4px;
  }
  
  .dropdown-links-container::-webkit-scrollbar-track {
    background: white;
    border-radius: 12px;
  }
  
  .dropdown-links-container::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 4px;
  }
  
  /* For Firefox */
.dropdown-links-container {
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) rgba(255, 255, 255, 0);
}
  /* Dropdown content links */
  .dropdown-links-container a {
    color: black;
    width: 100%;
  
  }

  /* Dropdown content links */
  .dropdown-content a {
    color: black;
    width:90%;
    padding: 12px 16px;
    font-weight: 700;
    text-decoration: none;
    display: block;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
  }
  
  .dropdown-content a:hover {
    background-color: #f2f2f2;
  }

  
/* For a font icon */
.small-icon.icon-arrow-down {
    cursor: pointer;
    transition: transform 0.3s ease; /* Smooth transition for rotation */
  }
  
  .dropdown-field.active .small-icon.icon-arrow-down svg {
    transform: rotate(180deg); /* Rotate the SVG */
    fill: var(--color-accent); /* Change SVG fill to accent color */
  }
  
  /* You may want to define a default fill color for the SVG, which can be done in the SVG tag itself or here in the CSS */
  .small-icon.icon-arrow-down svg {
    fill: white; /* Default fill color */
  }

  .content{
    margin-top:104px;
  }
  @media screen and (max-width: 1080px) { 
    
    .content{
    margin-top:0;
    margin-left: -12px;
  }
}
  
@media screen and (max-width: 480px) { 

  .dropdown-field{
  
      min-width:150px;
      max-width:250px;
      width:100%!important;
  }

}