.search-section {
  margin-bottom: 16px;

  .search-row {
    display: flex;
    gap: 8px;
  }
}

.invoice-info {
  background: var(--p-surface-100);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;

  .info-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;

    .label {
      color: var(--p-text-muted-color);
      font-size: 13px;
    }

    .value {
      font-weight: 600;
    }
  }
}

.items-section {
  margin-bottom: 16px;

  h4 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
  }
}

.return-item {
  border: 1px solid var(--p-surface-200);
  border-radius: 6px;
  margin-bottom: 8px;
  overflow: hidden;

  &.selected {
    border-color: var(--p-primary-color);
    background: var(--p-primary-50);
  }

  .item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;

    .item-name {
      flex: 1;
      font-weight: 500;
    }

    .item-qty,
    .item-price {
      font-size: 13px;
      color: var(--p-text-muted-color);
    }
  }

  .item-details {
    padding: 8px 12px 12px;
    display: flex;
    gap: 12px;
    align-items: flex-end;

    .detail-field {
      flex: 1;

      label {
        display: block;
        font-size: 12px;
        color: var(--p-text-muted-color);
        margin-bottom: 4px;
      }

      input {
        width: 100%;
      }
    }
  }
}

.refund-section {
  display: flex;
  align-items: center;
  gap: 16px;

  .refund-method {
    flex: 1;

    label {
      display: block;
      font-weight: 600;
      font-size: 13px;
      margin-bottom: 6px;
    }
  }

  .refund-total {
    text-align: end;

    span:first-child {
      display: block;
      font-size: 12px;
      color: var(--p-text-muted-color);
      margin-bottom: 4px;
    }

    .amount {
      font-size: 20px;
      font-weight: 700;
      color: var(--p-green-500);
    }
  }
}
