.pisell-sale-detail-order-note {

  &__card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 6px 10px 12px;
    border: 1px solid rgba(119, 133, 160, 0.26);
    border-radius: 12px;
    background: #0d1322;
    box-sizing: border-box;
  }

  &__header {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
  }

  &__icon {
    flex: none;
    color: rgba(205, 215, 238, 0.8);
    font-size: 16px;
  }

  &__title {
    min-width: 0;
    overflow: hidden;
    color: #e7ecff;
    font-size: 16px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  &__body {
    display: grid;
    grid-template-columns: minmax(100px, 0.8fr) minmax(80px, 1fr) auto;
    align-items: center;
    gap: 6px;
    min-width: 0;
  }

  &__label {
    min-width: 0;
    overflow: hidden;
    color: #9fb4d8;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  &__text {
    min-width: 0;
    overflow: hidden;
    color: #eaf0ff;
    font-size: 14px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  &__edit {
    flex: none;
    min-width: 76px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(157, 169, 197, 0.34);
    border-radius: 10px;
    color: #eaf0ff;
    font-size: 14px;
    font-weight: 700;
    background: rgba(11, 17, 32, 0.72);
    cursor: pointer;

    &:hover {
      border-color: rgba(191, 202, 226, 0.58);
      background: rgba(22, 31, 53, 0.88);
    }
  }

  &--readonly &__body {
    grid-template-columns: minmax(100px, 0.8fr) minmax(80px, 1fr);
  }
}
