.overlay--fixed,
.hide-form{
  display: none;
}


.show-form{
  display: block;
}


.overlay--fixed::before{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  z-index: 999;
  background: rgba(0, 0, 0, 0.64);
}

.overlay--fixed.active{
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
}

.fixed-window{
  position: fixed;
  display: block;
  z-index: 9999;
}

.fixed-window .close-button{
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 16px;
  height: 16px;
}

.fixed-window .close-button:hover {
  cursor: pointer;
  svg path{
    fill: #323b62;
  }
}

.form.form--popup{
  .form__desc{
    color: #55555A;
  }
}

.invoice-logo__area{
  max-width: 143px;
  .invoice-logo__area-logo{
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #303030;
  }
  .invoice-logo__area-text{
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #91A2B6;
  }
}

.invoice__input-list.estimate .invoice-input__name{
  width: 100px;
  flex: 0 0 100px;
  text-align: end;
}


@media screen and (max-width: 767px) {
  .overlay--fixed.active{
    justify-content: start;
    .form.form--popup{
      max-width: 100%;
      border-radius: 0;
      height: 100vh;
      padding: 72.5px clamp(2rem, 4vw, 3rem);
      .form__title{
        font-weight: 500;
        font-size: 32px;
        line-height: 44px;
      }
      .form__label:first-child{
        margin-bottom: clamp(var(--g7-mobile), 3vw, var(--g7-desktop));
      }
      button{
        padding: 0.75rem 1.25rem;
      }
    }
  }

  .invoice-input__name,
  .invoice__input-list.estimate .invoice-input__name {
    font-size: var(--text-micro);
    width: auto;
    flex: none;
    text-align: start;
  }
}