body {
  background-color: black;
}

/* bottom-sheet start, 재사용 가능 */

.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;

  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;
  height: auto;
  max-height: 90vh;

  background-color: #ffffff;

  border-top-left-radius: 24px;
  border-top-right-radius: 24px;

  .bottom-sheet__header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    flex-shrink: 0;

    width: 100%;
    height: 56px;

    padding: 0 24px;

    border-bottom: 1px solid #d9dfec;

    .bottom-sheet__header__title {
      font-weight: 700;
      font-size: 16px;
      line-height: 1;
      letter-spacing: -0.56px;
    }
    .bottom-sheet__header__close {
      flex-shrink: 0;

      width: 24px;
      height: 24px;

      padding: 0;

      background-color: transparent;
      border: none;

      font-size: 0;

      img {
        width: 100%;
        height: 100%;
      }
    }
  }

  .bottom-sheet__content {
    width: 100%;

    flex-shrink: 1;
    overflow-y: auto;
  }

  .bottom-sheet__footer {
    width: 100%;

    flex-shrink: 0;

    .bottom-sheet__footer__actions {
      display: flex;

      height: 52px;

      border-top: 1px solid #d9dfec;

      .bottom-sheet__footer__button {
        flex-basis: 0;
        flex-grow: 1;

        height: 100%;

        border: none;

        font-weight: 500;
        font-size: 16px;
        line-height: 16px;
        letter-spacing: -0.64px;

        background-color: #ffffff;
        color: #000000;

        &.bottom-sheet__footer__button--primary {
          background-color: #0068ff;
          color: #ffffff;
        }
      }
    }
  }
}

/* bottom-sheet end */

.component-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;

  gap: 16px;

  padding: 24px 16px;

  .component-list__item {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 12px;

    width: 100%;

    padding: 12px 16px;

    border: 1px solid #d9dfec;
    border-radius: 16px;

    .component-list__item__header__title {
      margin-bottom: 8px;

      font-weight: 500;
      font-size: 15px;
      line-height: 1;
      letter-spacing: -0.6px;

      color: #000000;
    }
    .component-list__item__header__subtitle {
      font-weight: 400;
      font-size: 14px;
      line-height: 14px;
      letter-spacing: -0.56px;

      color: #5b6371;
    }

    .component-list__item__divider {
      width: 100%;
      height: 1px;

      background-color: #d9dfec;
    }

    .component-list__item__fields {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 8px;

      .field-row {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .field-row__label {
          display: flex;

          align-items: center;
          gap: 2px;

          width: 140px;

          span {
            font-weight: 400;
            font-size: 14px;
            line-height: 14px;
            letter-spacing: -0.56px;

            color: #5b6371;
          }
        }
      }

      .purchase-order {
        .purchase-order__input {
          width: 72px;
          height: 32px;

          background-color: #f5f6f8;
          border: 1px solid #c2cadb;

          text-align: center;

          font-weight: 400;
          font-size: 13px;
          line-height: 13px;
          letter-spacing: -0.52px;

          color: #5b6371;
        }
      }

      .receiving {
        .text-field {
          width: 160px;
        }
      }
    }
  }
}

.description {
  margin: 0;
  padding: 16px;

  list-style-position: inside;

  background-color: #f5f6f8;

  li {
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: -0.56px;

    color: #383d48;
  }
}
