// This file is part of Indico.
// Copyright (C) 2002 - 2026 CERN
//
// Indico is free software; you can redistribute it and/or
// modify it under the terms of the MIT License; see the
// LICENSE file for more details.

.clearableinput {
  display: flex;
  align-items: center;
  position: relative;

  .clearabletext {
    padding-right: 1.7em !important;

    &::-webkit-search-cancel-button {
      display: none;
    }
  }

  .button-box {
    position: absolute;
    padding: 0 2px;
    right: 0;
    height: 1.1em;

    a.i-link {
      padding-left: 2px;
      visibility: hidden;

      &::before {
        font-size: 1.1em;
      }

      &:last-child {
        padding-right: 2px;
      }
    }
  }
}
