@import "../../shared/variables.scss";
:host {
  position: fixed;
  z-index: 2001;
  display: block;
  &.hidden {
    visibility: hidden;
  }
}
.hidden {
  display: none;
}
$radius: 5px;
.opened {
  box-sizing: border-box;
  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14),
    0px 1px 10px 0px rgba(0, 0, 0, 0.12);
  background: #fff;
  width: 250px;
  border-radius: $radius;
  position: absolute;

  button {
    border: none;
    font-family: inherit;
    font-size: 12px;
    background-color: unset;
    user-select: none;
    padding: 10px;
    letter-spacing: 1px;
    color: #222222;
    border-radius: 3px;
    line-height: 20px;
  }
  button:hover,
  .button:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transition: opacity 0.2s cubic-bezier(0.35, 0, 0.25, 1), background-color 0.2s cubic-bezier(0.35, 0, 0.25, 1);
    transition-property: opacity, background-color;
    transition-duration: 0.2s, 0.2s;
    transition-timing-function: cubic-bezier(0.35, 0, 0.25, 1), cubic-bezier(0.35, 0, 0.25, 1);
    transition-delay: 0s, 0s;
  }
  button:focus {
    outline: none;
  }

  .colors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 15px;
    .circle {
      $size: 34px;
      height: $size;
      width: $size;
      box-sizing: border-box;
      border-radius: 100%;
      cursor: pointer;
      flex: 34px 0 0;
      margin: 0 5px;
      margin-bottom: 5px;

      .add {
        font-size: 20px;
        line-height: 45px;
        text-align: center;
      }
      .selected {
        border: 2px solid white;
        border-radius: 100%;
        height: 28px;
        width: 28px;
        box-sizing: border-box;
        margin: 2px;
      }
    }
    .circle-border {
      border: 1px solid rgba(0, 0, 0, 0.03);
    }
  }

  .color-picker-wrapper {
    margin: 5px 15px 5px 15px;
  }
  .nav-wrapper {
    overflow: hidden;
    margin: 5px 5px 5px 5px;
    .round-button {
      padding: 5px 0;
      width: 40px;
      height: 40px;
      box-sizing: border-box;
      border-radius: 100%;
      text-align: center;
      line-height: 45px;
    }
  }
  .manual-input-wrapper {
    $height: 45px;
    display: flex;
    margin: 15px;
    font-family: sans-serif;

    p {
      margin: 0;
      text-align: center;
      font-size: 10px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      line-height: 48px;
      width: 145px;
      @include disable-selection;
    }

    .g-input {
      border: 1px solid #e8ebed;
      height: $height;
      border-radius: $radius;
      width: 100%;

      input {
        font-size: 9px;
        border: none;
        width: 100%;
        text-transform: uppercase;
        outline: none;
        text-align: center;
        letter-spacing: 1px;
        color: #595b65;
        height: 100%;
        border-radius: $radius;
        margin: 0;
        padding: 0;
      }
    }
  }
}
// }
