﻿.dropdown-wrapper {
    position: relative;
    width: 275px;
}

.input-row {
    display: flex;
    align-items: center;
    width: 275px;
    height: 50px;
    background: #ffffff;
    border-radius: 55px;
    border: 0.5px solid #00000033;
    padding: 0 16px 0 20px;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.input-row.open {
    border-radius: 25px 25px 0 0;
    border-bottom-color: transparent;
}

.input-row input {
   flex: 1;
   border: none;
   outline: none;
   background: transparent;
   font-family: DroidLight, Arial;
   font-size: 15px;
   color: #000;
   direction: rtl;
   text-align: right;
}

.input-row input::placeholder {
   color: #0000004D;
    font-family: DroidLight, Arial;
   font-size: 15px;
}

.arrow-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s;
    position: absolute;
    left: 16px;
}

.arrow-btn.open {
  transform: rotate(180deg);
}

.dropdown-list {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    width: 275px;
    background: #ffffff;
    border-radius: 0 0 25px 25px;
    border: 0.5px solid #00000033;
    border-top: none;
    overflow: hidden;
    z-index: 1;
    max-height: 200px;
    overflow-y: auto;
}

.dropdown-list.visible {
   display: block;
}

.dropdown-item {
    padding: 12px 20px;
    font-family: DroidLight, Arial;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    color: #000000;
    direction: rtl;
    text-align: right;
    transition: background 0.15s;
}

.dropdown-item:hover {
   background: #f5f5f5;
}

.dropdown-item.no-results {
   color: #999;
   cursor: default;
}

.dropdown-item.no-results:hover {
   background: none;
}

.tenable-btn {
    max-width: 431px;
    width: 100%;
    background-color: #0277BD;
    border-radius: 50px;
    height: 40px;
    font-family: droidBold, Arial;
    font-size: 12px;
    color: #FFFFFF;
}


@media (max-width: 768px) {
 .dropdown-wrapper{
  max-width:300px;
  width:100%;
}

.input-row {
  max-width:300px;
  width:100%;
  height:40px;
}

  .dropdown-list {
    max-width:300px;
    width:100%;
    top: 40px;
  }

  .input-row input {
      font-size: 12px;
  }

 .input-row input::placeholder{
     font-size: 12px;
 }

 .dropdown-item{
     border-bottom: 0.5px solid #00000040;
 }
}
