/* Hide the flag */
.custom-phone-button .flag {
    display: none !important;
  }
  
  /* Overlay country code text */
  .country-code-overlay {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    font-weight: 400;
    pointer-events: none;
    z-index: 10;
    font-size: 16px;
    color: #101828;
  }
  
  /* Adjust padding to avoid overlapping the text with the overlay */
  .custom-phone-input {
    padding-left: 60px !important;
  }

  input.form-control.custom-phone-input {
    border-radius: 200px;
    border: none;
    font-size: 16px;
}

.selected-flag {
    min-width: 50px;
    position: relative;
  
    &::before {
      content: "";
      position: absolute;
      right: -6px;
      top: 50%;
      transform: translateY(-50%);
      pointer-events: none;
      color: #000;
      mask-image: url("../../../public/images/chevron-down.svg");
      -webkit-mask-image: url("../../../public/images/chevron-down.svg");
      width: 18px;
      height: 18px;
      mask-position: center;
      font-size: 12px;
      background-color: #667085;
    }
  
    &.open::before {
      transform: translateY(-50%) rotate(180deg);
    }
  }
  
  .react-tel-input {
    .selected-flag{
        &:focus , &:hover{
          border-radius: 100px;
        }
      }
    .flag-dropdown.open {
      .selected-flag{
        border-radius: 100px;
      }
    }
  }
  