@import 'variables';

.jfInputColor {
  position: relative;
  &--picker {
    position: absolute;
    height: 100%;
    right: 8px;
    top: 0;
    display: flex;
    align-items: center;
    button {
      cursor: pointer;
      width: 24px;
      height: 24px;
      border-radius: 4px;
      flex-shrink: 0;
      border: 1px solid rgba(10, 21, 81, 0.2);
    }
  }
  &--popover {
    z-index: 3;
    background: var(--jfv-white);
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 0px 1px, rgba(0, 0, 0, 0.15) 0px 8px 16px;
  }
  &--error-text {
    display: block;
    color: var(--jfv-red-400);
    font-size: 12px;
    margin-top: 4px;
  }
  .jfInput input {
    text-transform: uppercase;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
