.hy-form-container {
  display: grid;
  column-gap: 24px;

  .label-required {
    &::after {
      content: '*';
      display: inline-block;
      color: rgba(var(--hy-danger-2));
    }
  }

  .hy-form-extra {
    height: 32px;
    color: rgba(var(--hy-auxiliary));
    position: relative;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1000px;
    border: 1px solid rgba(var(--hy-auxiliary));
    background-color: rgba(var(--hy-background-2));
    cursor: pointer;
    transition: all 0.1s linear;
    user-select: none;
    z-index: 2;
    .hy-form-extra-arrow {
      transform: rotateZ(90deg) rotateY(0deg);
      transition: all 0.3s linear;
    }
    &:hover {
      color: rgba(var(--hy-theme));
      border-color: rgba(var(--hy-theme));
      box-shadow: 0px 0px 12px 1px rgba(var(--hy-theme), 0.5);
      & + .hy-form-extra-line {
        background: radial-gradient(
          circle,
          rgba(var(--hy-theme), 1),
          rgba(var(--hy-theme), 0)
        );
      }
    }
    &.expand {
      .hy-form-extra-arrow {
        transform: rotateZ(90deg) rotateY(-180deg);
      }
    }
  }
  
  .hy-form-extra-line {
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    background: radial-gradient(
      circle,
      rgba(var(--hy-auxiliary), 1),
      rgba(var(--hy-auxiliary), 0)
    );
  }
}


